FlashBlade Reference
Client
FlashBlade REST Client Factory Method
FlashBlade REST 2.0 Client
FlashBlade REST 2.1 Client
FlashBlade REST 2.2 Client
FlashBlade REST 2.3 Client
FlashBlade REST 2.4 Client
FlashBlade REST 2.5 Client
FlashBlade REST 2.6 Client
FlashBlade REST 2.7 Client
FlashBlade REST 2.8 Client
FlashBlade REST 2.9 Client
FlashBlade REST 2.10 Client
FlashBlade REST 2.11 Client
FlashBlade REST 2.12 Client
FlashBlade REST 2.13 Client
FlashBlade REST 2.14 Client
FlashBlade REST 2.15 Client
FlashBlade REST 2.16 Client
FlashBlade REST 2.17 Client
Properties
Property
- class pypureclient.flashblade.Property(value)
A Property object models a property of a resource and allows for easy compounding, sorting, and filtering with them. It is converted to a string when calling any API and can also be replaced by a string.
- __add__(other)
The + operator. Create a subproperty.
- __eq__(other)
The == operator. Create a Filter that checks for equality.
- Parameters
other (str, int, bool) – The value to compare to.
- Returns
Filter
- Raises
PureError – If other is not of the proper type.
- __ge__(other)
The >= operator. Create a Filter that checks for greater than or equal.
- Parameters
other (str, int) – The value to compare to.
- Returns
Filter
- Raises
PureError – If other is not of the proper type.
- __getitem__(index)
The [] operator. Create a list Property with the given index.
- Parameters
index (str) – The list index to use.
- Returns
Property
- Raises
PureError – If index is not “all” or “any”.
- __gt__(other)
The > operator. Create a Filter that checks for greater than.
- Parameters
other (str, int) – The value to compare to.
- Returns
Filter
- Raises
PureError – If other is not of the proper type.
- __init__(value)
Initialize a Property.
- Parameters
value (str) – The name of the property.
- __le__(other)
The <= operator. Create a Filter that checks for less than or equal.
- Parameters
other (str, int) – The value to compare to.
- Returns
Filter
- Raises
PureError – If other is not of the proper type.
- __lt__(other)
The < operator. Create a Filter that checks for less than.
- Parameters
other (str, int) – The value to compare to.
- Returns
Filter
- Raises
PureError – If other is not of the proper type.
- __ne__(other)
The != operator. Create a Filter that checks for inequality.
- Parameters
other (str, int, bool) – The value to compare to.
- Returns
Filter
- Raises
PureError – If other is not of the proper type.
- __repr__()
Return the string value of the Property.
- Returns
str
- all()
Create a list Property indexed by “all”.
- Returns
Property
- any()
Create a list Property indexed by “any”.
- Returns
Property
- ascending()
Create a Property that can be sorted in ascending order.
- Returns
Property
- descending()
Create a property that can be sorted in descending order.
- Returns
Property
- exists()
Create a Filter that checks for existance of the given Property.
- Returns
Filter
Filter
- class pypureclient.flashblade.Filter(operation, operand1, operand2=None)
A Filter object models a filter string by keeping track of operations between Properties, values, and other Filters. It is converted to a string when calling any API and can also be replaced by a string.
- __and__(other)
The & operator. Create a Filter that is the AND of two Filters.
- __init__(operation, operand1, operand2=None)
Initialize a Filter. Should not be used directly. Instead, use the static methods to create Filters.
- Parameters
operation (_Operation) – The operation.
operand1 (any) – The first operand.
operand2 (any, optional) – The second operand, if the operation is binary. Defaults to None.
- __invert__()
The ~ operator. Create a Filter that is the inverse of another Filter.
- Returns
Filter
- __or__(other)
The | operator. Create a Filter that is the OR of two Filters.
- __repr__()
Return the string value of the Filter.
- Returns
str
- static and_(operand1, operand2)
Create a Filter that is the AND of two Filters.
- static contains(operand1, operand2)
Create a Filter that checks for substring containment.
- static eq(operand1, operand2)
Create a Filter that checks for equality.
- static exists(operand1)
Create a Filter that checks for existance of a Property.
- static ge(operand1, operand2)
Create a Filter that checks for greater than or equal.
- static gt(operand1, operand2)
Create a Filter that checks for greater than.
- static in_(operand1, operand2)
Create a Filter that checks if a Property is in a list of values.
- static le(operand1, operand2)
Create a Filter that checks for less than or equal.
- static lt(operand1, operand2)
Create a Filter that checks for less than.
- static ne(operand1, operand2)
Create a Filter that checks for inequality.
- static not_(operand1)
Create a Filter that is the inverse of another Filter.
- static or_(operand1, operand2)
Create a Filter that is the OR of two Filters.
Responses
ResponseHeaders
- class pypureclient.flashblade.ResponseHeaders(x_request_id, x_ratelimit_limit_second, x_ratelimit_limit_minute, x_ratelimit_remaining_second, x_ratelimit_remaining_minute)
An object that includes headers from the server response.
- __init__(x_request_id, x_ratelimit_limit_second, x_ratelimit_limit_minute, x_ratelimit_remaining_second, x_ratelimit_remaining_minute)
Initialize a ResponseHeaders.
- Parameters
x_request_id (str) – The X-Request-ID from the client or generated by the server.
x_ratelimit_limit_second (int) – The number of requests available per second.
x_ratelimit_limit_minute (int) – The number of requests available per minute.
x_ratelimit_remaining_second (int) – The number of requests remaining in that second.
x_ratelimit_remaining_minute (int) – The number of requests remaining in that minute.
- __repr__()
Return a pretty formatted string of the object.
- Returns
str
- to_dict()
Return a dictionary of the class attributes.
- Returns
dict
ValidResponse
- class pypureclient.flashblade.ValidResponse(status_code, continuation_token, total_item_count, items, headers, total=None, more_items_remaining=None, errors=None)
A response that indicates the request was successful and has the returned data.
- __init__(status_code, continuation_token, total_item_count, items, headers, total=None, more_items_remaining=None, errors=None)
Initialize a ValidResponse.
- Parameters
status_code (int) – The HTTP status code.
continuation_token (str) – An opaque token to iterate over a collection of resources. May be None.
total_item_count (int) – The total number of items available in the collection.
items (ItemIterator) – An iterator over the items in the collection.
headers (dict) – Response headers from the server.
- __repr__()
Return a pretty formatted string of the object. Does not convert the items to a list of items by using the iterator.
- Returns
str
- to_dict()
Return a dictionary of the class attributes. It will convert the items to a list of items by exhausting the iterator. If any items were previously iterated, they will be missed.
- Returns
dict
ApiError
- class pypureclient.flashblade.ApiError(context, message, location_context=None)
An object that models the error response from the server.
- __init__(context, message, location_context=None)
Initialize an ApiError.
- Parameters
context (str) – The context in which the error occurred.
message (str) – The error message.
location_context (str) – The execution context where the error occurred.
- __repr__()
Return a pretty formatted string of the object.
- Returns
str
- to_dict()
Return a dictionary of the class attributes.
- Returns
dict
ErrorResponse
- class pypureclient.flashblade.ErrorResponse(status_code, errors, headers)
A response that indicates there was an error with the request and has the list of errors.
- __init__(status_code, errors, headers)
Initialize an ErrorResponse.
- Parameters
status_code (int) – The HTTP status code.
errors (list[ApiError]) – The list of errors encountered.
headers (dict) – Response headers from the server.
- __repr__()
Return a pretty formatted string of the object.
- Returns
str
- to_dict()
Return a dictionary of the class attributes.
- Returns
dict
Models
ActiveDirectory
- class pypureclient.flashblade.ActiveDirectory(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, computer_name: Optional[StrictStr] = None, directory_servers: Optional[ConstrainedListValue[StrictStr]] = None, domain: Optional[StrictStr] = None, encryption_types: Optional[ConstrainedListValue[StrictStr]] = None, global_catalog_servers: Optional[ConstrainedListValue[StrictStr]] = None, join_ou: Optional[StrictStr] = None, kerberos_servers: Optional[ConstrainedListValue[StrictStr]] = None, server: Optional[FixedReference] = None, service_principal_names: Optional[ConstrainedListValue[ConstrainedStrValue]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ActiveDirectory
Create an instance of ActiveDirectory from a dict
- classmethod from_json(json_str: str) ActiveDirectory
Create an instance of ActiveDirectory from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ActiveDirectoryDirectoryServers
- class pypureclient.flashblade.ActiveDirectoryDirectoryServers(*, directory_servers: Optional[ConstrainedListValue[StrictStr]] = None, global_catalog_servers: Optional[ConstrainedListValue[StrictStr]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ActiveDirectoryDirectoryServers
Create an instance of ActiveDirectoryDirectoryServers from a dict
- classmethod from_json(json_str: str) ActiveDirectoryDirectoryServers
Create an instance of ActiveDirectoryDirectoryServers from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ActiveDirectoryGetResponse
- class pypureclient.flashblade.ActiveDirectoryGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[ActiveDirectory]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ActiveDirectoryGetResponse
Create an instance of ActiveDirectoryGetResponse from a dict
- classmethod from_json(json_str: str) ActiveDirectoryGetResponse
Create an instance of ActiveDirectoryGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ActiveDirectoryPatch
- class pypureclient.flashblade.ActiveDirectoryPatch(*, directory_servers: Optional[ConstrainedListValue[StrictStr]] = None, global_catalog_servers: Optional[ConstrainedListValue[StrictStr]] = None, encryption_types: Optional[ConstrainedListValue[StrictStr]] = None, fqdns: Optional[ConstrainedListValue[StrictStr]] = None, join_ou: Optional[StrictStr] = None, kerberos_servers: Optional[ConstrainedListValue[StrictStr]] = None, service_principal_names: Optional[ConstrainedListValue[ConstrainedStrValue]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ActiveDirectoryPatch
Create an instance of ActiveDirectoryPatch from a dict
- classmethod from_json(json_str: str) ActiveDirectoryPatch
Create an instance of ActiveDirectoryPatch from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ActiveDirectoryPost
- class pypureclient.flashblade.ActiveDirectoryPost(*, directory_servers: Optional[ConstrainedListValue[StrictStr]] = None, global_catalog_servers: Optional[ConstrainedListValue[StrictStr]] = None, computer_name: Optional[StrictStr] = None, domain: StrictStr, encryption_types: Optional[ConstrainedListValue[StrictStr]] = None, fqdns: Optional[ConstrainedListValue[StrictStr]] = None, join_ou: Optional[StrictStr] = None, kerberos_servers: Optional[ConstrainedListValue[StrictStr]] = None, password: StrictStr, service_principal_names: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, user: StrictStr)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ActiveDirectoryPost
Create an instance of ActiveDirectoryPost from a dict
- classmethod from_json(json_str: str) ActiveDirectoryPost
Create an instance of ActiveDirectoryPost from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ActiveDirectoryResponse
- class pypureclient.flashblade.ActiveDirectoryResponse(*, items: Optional[ConstrainedListValue[ActiveDirectory]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ActiveDirectoryResponse
Create an instance of ActiveDirectoryResponse from a dict
- classmethod from_json(json_str: str) ActiveDirectoryResponse
Create an instance of ActiveDirectoryResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Admin
- class pypureclient.flashblade.Admin(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, api_token: Optional[ApiToken] = None, is_local: Optional[StrictBool] = None, locked: Optional[StrictBool] = None, lockout_remaining: Optional[StrictInt] = None, public_key: Optional[StrictStr] = None, role: Optional[Reference] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
AdminApiToken
- class pypureclient.flashblade.AdminApiToken(*, admin: Optional[Reference] = None, api_token: Optional[ApiToken] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) AdminApiToken
Create an instance of AdminApiToken from a dict
- classmethod from_json(json_str: str) AdminApiToken
Create an instance of AdminApiToken from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
AdminApiTokenGetResponse
- class pypureclient.flashblade.AdminApiTokenGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[AdminApiToken]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) AdminApiTokenGetResponse
Create an instance of AdminApiTokenGetResponse from a dict
- classmethod from_json(json_str: str) AdminApiTokenGetResponse
Create an instance of AdminApiTokenGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
AdminApiTokenResponse
- class pypureclient.flashblade.AdminApiTokenResponse(*, items: Optional[ConstrainedListValue[AdminApiToken]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) AdminApiTokenResponse
Create an instance of AdminApiTokenResponse from a dict
- classmethod from_json(json_str: str) AdminApiTokenResponse
Create an instance of AdminApiTokenResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
AdminCache
- class pypureclient.flashblade.AdminCache(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, role: Optional[FixedReference] = None, time: Optional[StrictInt] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) AdminCache
Create an instance of AdminCache from a dict
- classmethod from_json(json_str: str) AdminCache
Create an instance of AdminCache from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
AdminCacheGetResponse
- class pypureclient.flashblade.AdminCacheGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[AdminCache]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) AdminCacheGetResponse
Create an instance of AdminCacheGetResponse from a dict
- classmethod from_json(json_str: str) AdminCacheGetResponse
Create an instance of AdminCacheGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
AdminGetResponse
- class pypureclient.flashblade.AdminGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[Admin]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) AdminGetResponse
Create an instance of AdminGetResponse from a dict
- classmethod from_json(json_str: str) AdminGetResponse
Create an instance of AdminGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
AdminPatch
- class pypureclient.flashblade.AdminPatch(*, locked: Optional[StrictBool] = None, old_password: Optional[StrictStr] = None, password: Optional[StrictStr] = None, public_key: Optional[StrictStr] = None, role: Optional[ReferenceWritable] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) AdminPatch
Create an instance of AdminPatch from a dict
- classmethod from_json(json_str: str) AdminPatch
Create an instance of AdminPatch from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
AdminPost
- class pypureclient.flashblade.AdminPost(*, password: Optional[StrictStr] = None, public_key: Optional[StrictStr] = None, role: Optional[ReferenceWritable] = None)
An administrative user, who has rights to login and manage the array in some capacity. # noqa: E501
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
AdminResponse
- class pypureclient.flashblade.AdminResponse(*, items: Optional[ConstrainedListValue[Admin]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) AdminResponse
Create an instance of AdminResponse from a dict
- classmethod from_json(json_str: str) AdminResponse
Create an instance of AdminResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
AdminSetting
- class pypureclient.flashblade.AdminSetting(*, lockout_duration: Optional[ConstrainedIntValue] = None, max_login_attempts: Optional[ConstrainedIntValue] = None, min_password_length: Optional[ConstrainedIntValue] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) AdminSetting
Create an instance of AdminSetting from a dict
- classmethod from_json(json_str: str) AdminSetting
Create an instance of AdminSetting from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
AdminSettingsGetResponse
- class pypureclient.flashblade.AdminSettingsGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[AdminSetting]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) AdminSettingsGetResponse
Create an instance of AdminSettingsGetResponse from a dict
- classmethod from_json(json_str: str) AdminSettingsGetResponse
Create an instance of AdminSettingsGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
AdminSettingsResponse
- class pypureclient.flashblade.AdminSettingsResponse(*, items: Optional[ConstrainedListValue[AdminSetting]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) AdminSettingsResponse
Create an instance of AdminSettingsResponse from a dict
- classmethod from_json(json_str: str) AdminSettingsResponse
Create an instance of AdminSettingsResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Alert
- class pypureclient.flashblade.Alert(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, action: Optional[StrictStr] = None, code: Optional[StrictInt] = None, component_name: Optional[StrictStr] = None, component_type: Optional[StrictStr] = None, created: Optional[StrictInt] = None, description: Optional[StrictStr] = None, flagged: Optional[StrictBool] = None, index: Optional[StrictInt] = None, knowledge_base_url: Optional[StrictStr] = None, notified: Optional[StrictInt] = None, severity: Optional[StrictStr] = None, state: Optional[StrictStr] = None, summary: Optional[StrictStr] = None, updated: Optional[StrictInt] = None, variables: Optional[Dict[str, StrictStr]] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
AlertGetResponse
- class pypureclient.flashblade.AlertGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[Alert]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) AlertGetResponse
Create an instance of AlertGetResponse from a dict
- classmethod from_json(json_str: str) AlertGetResponse
Create an instance of AlertGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
AlertResponse
- class pypureclient.flashblade.AlertResponse(*, items: Optional[ConstrainedListValue[Alert]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) AlertResponse
Create an instance of AlertResponse from a dict
- classmethod from_json(json_str: str) AlertResponse
Create an instance of AlertResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
AlertWatcher
- class pypureclient.flashblade.AlertWatcher(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, enabled: Optional[StrictBool] = None, minimum_notification_severity: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) AlertWatcher
Create an instance of AlertWatcher from a dict
- classmethod from_json(json_str: str) AlertWatcher
Create an instance of AlertWatcher from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
AlertWatcherGetResponse
- class pypureclient.flashblade.AlertWatcherGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[AlertWatcher]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) AlertWatcherGetResponse
Create an instance of AlertWatcherGetResponse from a dict
- classmethod from_json(json_str: str) AlertWatcherGetResponse
Create an instance of AlertWatcherGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
AlertWatcherPost
- class pypureclient.flashblade.AlertWatcherPost(*, minimum_notification_severity: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) AlertWatcherPost
Create an instance of AlertWatcherPost from a dict
- classmethod from_json(json_str: str) AlertWatcherPost
Create an instance of AlertWatcherPost from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
AlertWatcherResponse
- class pypureclient.flashblade.AlertWatcherResponse(*, items: Optional[ConstrainedListValue[AlertWatcher]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) AlertWatcherResponse
Create an instance of AlertWatcherResponse from a dict
- classmethod from_json(json_str: str) AlertWatcherResponse
Create an instance of AlertWatcherResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Api217LinkAggregationGroupsPatchRequest
- class pypureclient.flashblade.Api217LinkAggregationGroupsPatchRequest(*, ports: Optional[ConstrainedListValue[FixedReference]] = None, add_ports: Optional[ConstrainedListValue[FixedReference]] = None, remove_ports: Optional[ConstrainedListValue[FixedReference]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) Api217LinkAggregationGroupsPatchRequest
Create an instance of Api217LinkAggregationGroupsPatchRequest from a dict
- classmethod from_json(json_str: str) Api217LinkAggregationGroupsPatchRequest
Create an instance of Api217LinkAggregationGroupsPatchRequest from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ApiClient
- class pypureclient.flashblade.ApiClient(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, access_token_ttl_in_ms: Optional[StrictInt] = None, enabled: Optional[StrictBool] = None, issuer: Optional[StrictStr] = None, key_id: Optional[StrictStr] = None, max_role: Optional[FixedReference] = None, public_key: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ApiClientsPost
- class pypureclient.flashblade.ApiClientsPost(*, access_token_ttl_in_ms: Optional[StrictInt] = None, issuer: Optional[StrictStr] = None, max_role: ReferenceWritable, public_key: StrictStr)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ApiClientsPost
Create an instance of ApiClientsPost from a dict
- classmethod from_json(json_str: str) ApiClientsPost
Create an instance of ApiClientsPost from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ApiClientsResponse
- class pypureclient.flashblade.ApiClientsResponse(*, items: Optional[ConstrainedListValue[ApiClient]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ApiClientsResponse
Create an instance of ApiClientsResponse from a dict
- classmethod from_json(json_str: str) ApiClientsResponse
Create an instance of ApiClientsResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ApiToken
- class pypureclient.flashblade.ApiToken(*, created_at: Optional[StrictInt] = None, expires_at: Optional[StrictInt] = None, token: Optional[StrictStr] = None)
API token # noqa: E501
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ApiVersion
- class pypureclient.flashblade.ApiVersion(*, versions: Optional[ConstrainedListValue[StrictStr]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ApiVersion
Create an instance of ApiVersion from a dict
- classmethod from_json(json_str: str) ApiVersion
Create an instance of ApiVersion from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Array
- class pypureclient.flashblade.Array(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, _as_of: Optional[StrictInt] = None, banner: Optional[StrictStr] = None, default_inbound_tls_policy: Optional[ReferenceWritable] = None, encryption: Optional[ArrayEncryption] = None, eradication_config: Optional[ArrayEradicationConfig] = None, idle_timeout: Optional[StrictInt] = None, network_access_policy: Optional[FixedReference] = None, ntp_servers: Optional[ConstrainedListValue[StrictStr]] = None, os: Optional[StrictStr] = None, product_type: Optional[StrictStr] = None, revision: Optional[StrictStr] = None, security_update: Optional[StrictStr] = None, smb_mode: Optional[StrictStr] = None, time_zone: Optional[StrictStr] = None, version: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ArrayConnection
- class pypureclient.flashblade.ArrayConnection(*, id: Optional[StrictStr] = None, context: Optional[Reference] = None, ca_certificate_group: Optional[FixedReference] = None, encrypted: Optional[StrictBool] = None, management_address: Optional[StrictStr] = None, os: Optional[StrictStr] = None, remote: Optional[FixedReference] = None, replication_addresses: Optional[ConstrainedListValue[StrictStr]] = None, status: Optional[StrictStr] = None, throttle: Optional[Throttle] = None, type: Optional[StrictStr] = None, version: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ArrayConnection
Create an instance of ArrayConnection from a dict
- classmethod from_json(json_str: str) ArrayConnection
Create an instance of ArrayConnection from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ArrayConnectionGetResponse
- class pypureclient.flashblade.ArrayConnectionGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[ArrayConnection]] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ArrayConnectionGetResponse
Create an instance of ArrayConnectionGetResponse from a dict
- classmethod from_json(json_str: str) ArrayConnectionGetResponse
Create an instance of ArrayConnectionGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ArrayConnectionKey
- class pypureclient.flashblade.ArrayConnectionKey(*, connection_key: Optional[StrictStr] = None, created: Optional[StrictInt] = None, expires: Optional[StrictInt] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ArrayConnectionKey
Create an instance of ArrayConnectionKey from a dict
- classmethod from_json(json_str: str) ArrayConnectionKey
Create an instance of ArrayConnectionKey from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ArrayConnectionKeyGetResponse
- class pypureclient.flashblade.ArrayConnectionKeyGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[ArrayConnectionKey]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ArrayConnectionKeyGetResponse
Create an instance of ArrayConnectionKeyGetResponse from a dict
- classmethod from_json(json_str: str) ArrayConnectionKeyGetResponse
Create an instance of ArrayConnectionKeyGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ArrayConnectionKeyResponse
- class pypureclient.flashblade.ArrayConnectionKeyResponse(*, items: Optional[ConstrainedListValue[ArrayConnectionKey]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ArrayConnectionKeyResponse
Create an instance of ArrayConnectionKeyResponse from a dict
- classmethod from_json(json_str: str) ArrayConnectionKeyResponse
Create an instance of ArrayConnectionKeyResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ArrayConnectionPath
- class pypureclient.flashblade.ArrayConnectionPath(*, id: Optional[StrictStr] = None, context: Optional[Reference] = None, destination: Optional[StrictStr] = None, remote: Optional[FixedReference] = None, source: Optional[StrictStr] = None, status: Optional[StrictStr] = None, status_details: Optional[StrictStr] = None, type: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ArrayConnectionPath
Create an instance of ArrayConnectionPath from a dict
- classmethod from_json(json_str: str) ArrayConnectionPath
Create an instance of ArrayConnectionPath from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ArrayConnectionPathGetResponse
- class pypureclient.flashblade.ArrayConnectionPathGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None, items: Optional[ConstrainedListValue[ArrayConnectionPath]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ArrayConnectionPathGetResponse
Create an instance of ArrayConnectionPathGetResponse from a dict
- classmethod from_json(json_str: str) ArrayConnectionPathGetResponse
Create an instance of ArrayConnectionPathGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ArrayConnectionPost
- class pypureclient.flashblade.ArrayConnectionPost(*, id: Optional[StrictStr] = None, context: Optional[Reference] = None, ca_certificate_group: Optional[FixedReference] = None, encrypted: Optional[StrictBool] = None, management_address: Optional[StrictStr] = None, os: Optional[StrictStr] = None, remote: Optional[FixedReference] = None, replication_addresses: Optional[ConstrainedListValue[StrictStr]] = None, status: Optional[StrictStr] = None, throttle: Optional[Throttle] = None, type: Optional[StrictStr] = None, version: Optional[StrictStr] = None, connection_key: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ArrayConnectionPost
Create an instance of ArrayConnectionPost from a dict
- classmethod from_json(json_str: str) ArrayConnectionPost
Create an instance of ArrayConnectionPost from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ArrayConnectionResponse
- class pypureclient.flashblade.ArrayConnectionResponse(*, items: Optional[ConstrainedListValue[ArrayConnection]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ArrayConnectionResponse
Create an instance of ArrayConnectionResponse from a dict
- classmethod from_json(json_str: str) ArrayConnectionResponse
Create an instance of ArrayConnectionResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ArrayEncryption
- class pypureclient.flashblade.ArrayEncryption(*, data_at_rest: Optional[ArrayEncryptionDataAtRest] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ArrayEncryption
Create an instance of ArrayEncryption from a dict
- classmethod from_json(json_str: str) ArrayEncryption
Create an instance of ArrayEncryption from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ArrayEncryptionDataAtRest
- class pypureclient.flashblade.ArrayEncryptionDataAtRest(*, algorithms: Optional[ConstrainedListValue[StrictStr]] = None, enabled: Optional[StrictBool] = None, entropy_source: Optional[StrictStr] = None)
Data at Rest Encryption properties. # noqa: E501
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ArrayEncryptionDataAtRest
Create an instance of ArrayEncryptionDataAtRest from a dict
- classmethod from_json(json_str: str) ArrayEncryptionDataAtRest
Create an instance of ArrayEncryptionDataAtRest from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ArrayEradicationConfig
- class pypureclient.flashblade.ArrayEradicationConfig(*, eradication_delay: Optional[StrictInt] = None, manual_eradication: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ArrayEradicationConfig
Create an instance of ArrayEradicationConfig from a dict
- classmethod from_json(json_str: str) ArrayEradicationConfig
Create an instance of ArrayEradicationConfig from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ArrayFactoryResetToken
- class pypureclient.flashblade.ArrayFactoryResetToken(*, name: Optional[StrictStr] = None, token: Optional[StrictInt] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ArrayFactoryResetToken
Create an instance of ArrayFactoryResetToken from a dict
- classmethod from_json(json_str: str) ArrayFactoryResetToken
Create an instance of ArrayFactoryResetToken from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ArrayFactoryResetTokenGetResponse
- class pypureclient.flashblade.ArrayFactoryResetTokenGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[ArrayFactoryResetToken]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ArrayFactoryResetTokenGetResponse
Create an instance of ArrayFactoryResetTokenGetResponse from a dict
- classmethod from_json(json_str: str) ArrayFactoryResetTokenGetResponse
Create an instance of ArrayFactoryResetTokenGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ArrayFactoryResetTokenResponse
- class pypureclient.flashblade.ArrayFactoryResetTokenResponse(*, items: Optional[ConstrainedListValue[ArrayFactoryResetToken]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ArrayFactoryResetTokenResponse
Create an instance of ArrayFactoryResetTokenResponse from a dict
- classmethod from_json(json_str: str) ArrayFactoryResetTokenResponse
Create an instance of ArrayFactoryResetTokenResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ArrayGetResponse
- class pypureclient.flashblade.ArrayGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[Array]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ArrayGetResponse
Create an instance of ArrayGetResponse from a dict
- classmethod from_json(json_str: str) ArrayGetResponse
Create an instance of ArrayGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ArrayHttpSpecificPerformance
- class pypureclient.flashblade.ArrayHttpSpecificPerformance(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, context: Optional[Reference] = None, others_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, read_dirs_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, read_files_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, time: Optional[StrictInt] = None, usec_per_other_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, usec_per_read_dir_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, usec_per_read_file_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, usec_per_write_dir_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, usec_per_write_file_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, write_dirs_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, write_files_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ArrayHttpSpecificPerformance
Create an instance of ArrayHttpSpecificPerformance from a dict
- classmethod from_json(json_str: str) ArrayHttpSpecificPerformance
Create an instance of ArrayHttpSpecificPerformance from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ArrayHttpSpecificPerformanceGet
- class pypureclient.flashblade.ArrayHttpSpecificPerformanceGet(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None, items: Optional[ConstrainedListValue[ArrayHttpSpecificPerformance]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ArrayHttpSpecificPerformanceGet
Create an instance of ArrayHttpSpecificPerformanceGet from a dict
- classmethod from_json(json_str: str) ArrayHttpSpecificPerformanceGet
Create an instance of ArrayHttpSpecificPerformanceGet from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ArrayNfsSpecificPerformance
- class pypureclient.flashblade.ArrayNfsSpecificPerformance(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, context: Optional[Reference] = None, accesses_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, aggregate_file_metadata_creates_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, aggregate_file_metadata_modifies_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, aggregate_file_metadata_reads_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, aggregate_other_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, aggregate_share_metadata_reads_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, aggregate_usec_per_file_metadata_create_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, aggregate_usec_per_file_metadata_modify_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, aggregate_usec_per_file_metadata_read_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, aggregate_usec_per_other_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, aggregate_usec_per_share_metadata_read_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, creates_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, fsinfos_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, fsstats_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, getattrs_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, links_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, lookups_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, mkdirs_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, pathconfs_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, readdirpluses_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, readdirs_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, readlinks_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, reads_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, removes_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, renames_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, rmdirs_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, setattrs_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, symlinks_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, time: Optional[StrictInt] = None, usec_per_access_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, usec_per_create_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, usec_per_fsinfo_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, usec_per_fsstat_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, usec_per_getattr_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, usec_per_link_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, usec_per_lookup_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, usec_per_mkdir_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, usec_per_pathconf_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, usec_per_read_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, usec_per_readdir_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, usec_per_readdirplus_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, usec_per_readlink_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, usec_per_remove_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, usec_per_rename_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, usec_per_rmdir_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, usec_per_setattr_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, usec_per_symlink_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, usec_per_write_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, writes_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ArrayNfsSpecificPerformance
Create an instance of ArrayNfsSpecificPerformance from a dict
- classmethod from_json(json_str: str) ArrayNfsSpecificPerformance
Create an instance of ArrayNfsSpecificPerformance from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ArrayNfsSpecificPerformanceGet
- class pypureclient.flashblade.ArrayNfsSpecificPerformanceGet(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None, items: Optional[ConstrainedListValue[ArrayNfsSpecificPerformance]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ArrayNfsSpecificPerformanceGet
Create an instance of ArrayNfsSpecificPerformanceGet from a dict
- classmethod from_json(json_str: str) ArrayNfsSpecificPerformanceGet
Create an instance of ArrayNfsSpecificPerformanceGet from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ArrayPerformance
- class pypureclient.flashblade.ArrayPerformance(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, context: Optional[Reference] = None, bytes_per_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, bytes_per_read: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, bytes_per_write: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, others_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, read_bytes_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, reads_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, time: Optional[StrictInt] = None, usec_per_other_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, usec_per_read_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, usec_per_write_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, write_bytes_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, writes_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ArrayPerformance
Create an instance of ArrayPerformance from a dict
- classmethod from_json(json_str: str) ArrayPerformance
Create an instance of ArrayPerformance from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ArrayPerformanceGetResponse
- class pypureclient.flashblade.ArrayPerformanceGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None, items: Optional[ConstrainedListValue[ArrayPerformance]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ArrayPerformanceGetResponse
Create an instance of ArrayPerformanceGetResponse from a dict
- classmethod from_json(json_str: str) ArrayPerformanceGetResponse
Create an instance of ArrayPerformanceGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ArrayPerformanceReplicationGetResp
- class pypureclient.flashblade.ArrayPerformanceReplicationGetResp(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None, items: Optional[ConstrainedListValue[RelationshipPerformanceReplication]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ArrayPerformanceReplicationGetResp
Create an instance of ArrayPerformanceReplicationGetResp from a dict
- classmethod from_json(json_str: str) ArrayPerformanceReplicationGetResp
Create an instance of ArrayPerformanceReplicationGetResp from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ArrayResponse
- class pypureclient.flashblade.ArrayResponse(*, items: Optional[ConstrainedListValue[Array]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ArrayResponse
Create an instance of ArrayResponse from a dict
- classmethod from_json(json_str: str) ArrayResponse
Create an instance of ArrayResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ArrayS3SpecificPerformance
- class pypureclient.flashblade.ArrayS3SpecificPerformance(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, context: Optional[Reference] = None, others_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, read_buckets_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, read_objects_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, time: Optional[StrictInt] = None, usec_per_other_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, usec_per_read_bucket_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, usec_per_read_object_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, usec_per_write_bucket_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, usec_per_write_object_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, write_buckets_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, write_objects_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ArrayS3SpecificPerformance
Create an instance of ArrayS3SpecificPerformance from a dict
- classmethod from_json(json_str: str) ArrayS3SpecificPerformance
Create an instance of ArrayS3SpecificPerformance from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ArrayS3SpecificPerformanceGetResp
- class pypureclient.flashblade.ArrayS3SpecificPerformanceGetResp(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None, items: Optional[ConstrainedListValue[ArrayS3SpecificPerformance]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ArrayS3SpecificPerformanceGetResp
Create an instance of ArrayS3SpecificPerformanceGetResp from a dict
- classmethod from_json(json_str: str) ArrayS3SpecificPerformanceGetResp
Create an instance of ArrayS3SpecificPerformanceGetResp from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ArraySpace
- class pypureclient.flashblade.ArraySpace(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, context: Optional[Reference] = None, capacity: Optional[StrictInt] = None, parity: Optional[Union[StrictFloat, StrictInt]] = None, space: Optional[Space] = None, time: Optional[StrictInt] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ArraySpace
Create an instance of ArraySpace from a dict
- classmethod from_json(json_str: str) ArraySpace
Create an instance of ArraySpace from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ArraySpaceGetResponse
- class pypureclient.flashblade.ArraySpaceGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None, items: Optional[ConstrainedListValue[ArraySpace]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ArraySpaceGetResponse
Create an instance of ArraySpaceGetResponse from a dict
- classmethod from_json(json_str: str) ArraySpaceGetResponse
Create an instance of ArraySpaceGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ArraySpaceStorageClassGetResponse
- class pypureclient.flashblade.ArraySpaceStorageClassGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[StorageClassSpace]] = None, total: Optional[StorageClassSpace] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ArraySpaceStorageClassGetResponse
Create an instance of ArraySpaceStorageClassGetResponse from a dict
- classmethod from_json(json_str: str) ArraySpaceStorageClassGetResponse
Create an instance of ArraySpaceStorageClassGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ArraysSupportedTimeZonesGetResponse
- class pypureclient.flashblade.ArraysSupportedTimeZonesGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[TimeZone]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ArraysSupportedTimeZonesGetResponse
Create an instance of ArraysSupportedTimeZonesGetResponse from a dict
- classmethod from_json(json_str: str) ArraysSupportedTimeZonesGetResponse
Create an instance of ArraysSupportedTimeZonesGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Audit
- class pypureclient.flashblade.Audit(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, arguments: Optional[StrictStr] = None, command: Optional[StrictStr] = None, ip_address: Optional[StrictStr] = None, origin: Optional[FixedReference] = None, subcommand: Optional[StrictStr] = None, time: Optional[StrictInt] = None, user: Optional[StrictStr] = None, user_agent: Optional[StrictStr] = None, user_interface: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
AuditFileSystemsPoliciesGetResponse
- class pypureclient.flashblade.AuditFileSystemsPoliciesGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[AuditFileSystemsPolicy]] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) AuditFileSystemsPoliciesGetResponse
Create an instance of AuditFileSystemsPoliciesGetResponse from a dict
- classmethod from_json(json_str: str) AuditFileSystemsPoliciesGetResponse
Create an instance of AuditFileSystemsPoliciesGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
AuditFileSystemsPoliciesMembersGetResponse
- class pypureclient.flashblade.AuditFileSystemsPoliciesMembersGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[PolicyMemberContext]] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) AuditFileSystemsPoliciesMembersGetResponse
Create an instance of AuditFileSystemsPoliciesMembersGetResponse from a dict
- classmethod from_json(json_str: str) AuditFileSystemsPoliciesMembersGetResponse
Create an instance of AuditFileSystemsPoliciesMembersGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
AuditFileSystemsPoliciesMembersResponse
- class pypureclient.flashblade.AuditFileSystemsPoliciesMembersResponse(*, items: Optional[ConstrainedListValue[PolicyMemberContext]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) AuditFileSystemsPoliciesMembersResponse
Create an instance of AuditFileSystemsPoliciesMembersResponse from a dict
- classmethod from_json(json_str: str) AuditFileSystemsPoliciesMembersResponse
Create an instance of AuditFileSystemsPoliciesMembersResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
AuditFileSystemsPoliciesPatch
- class pypureclient.flashblade.AuditFileSystemsPoliciesPatch(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, enabled: Optional[StrictBool] = None, is_local: Optional[StrictBool] = None, location: Optional[FixedReference] = None, policy_type: Optional[StrictStr] = None, log_targets: Optional[ConstrainedListValue[Reference]] = None, add_log_targets: Optional[ConstrainedListValue[Reference]] = None, remove_log_targets: Optional[ConstrainedListValue[Reference]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) AuditFileSystemsPoliciesPatch
Create an instance of AuditFileSystemsPoliciesPatch from a dict
- classmethod from_json(json_str: str) AuditFileSystemsPoliciesPatch
Create an instance of AuditFileSystemsPoliciesPatch from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
AuditFileSystemsPoliciesPost
- class pypureclient.flashblade.AuditFileSystemsPoliciesPost(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, enabled: Optional[StrictBool] = None, is_local: Optional[StrictBool] = None, location: Optional[FixedReference] = None, policy_type: Optional[StrictStr] = None, log_targets: Optional[ConstrainedListValue[Reference]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) AuditFileSystemsPoliciesPost
Create an instance of AuditFileSystemsPoliciesPost from a dict
- classmethod from_json(json_str: str) AuditFileSystemsPoliciesPost
Create an instance of AuditFileSystemsPoliciesPost from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
AuditFileSystemsPoliciesResponse
- class pypureclient.flashblade.AuditFileSystemsPoliciesResponse(*, items: Optional[ConstrainedListValue[AuditFileSystemsPolicy]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) AuditFileSystemsPoliciesResponse
Create an instance of AuditFileSystemsPoliciesResponse from a dict
- classmethod from_json(json_str: str) AuditFileSystemsPoliciesResponse
Create an instance of AuditFileSystemsPoliciesResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
AuditFileSystemsPolicy
- class pypureclient.flashblade.AuditFileSystemsPolicy(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, enabled: Optional[StrictBool] = None, is_local: Optional[StrictBool] = None, location: Optional[FixedReference] = None, policy_type: Optional[StrictStr] = None, log_targets: Optional[ConstrainedListValue[Reference]] = None, context: Optional[Reference] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) AuditFileSystemsPolicy
Create an instance of AuditFileSystemsPolicy from a dict
- classmethod from_json(json_str: str) AuditFileSystemsPolicy
Create an instance of AuditFileSystemsPolicy from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
AuditFileSystemsPolicyNoContext
- class pypureclient.flashblade.AuditFileSystemsPolicyNoContext(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, enabled: Optional[StrictBool] = None, is_local: Optional[StrictBool] = None, location: Optional[FixedReference] = None, policy_type: Optional[StrictStr] = None, log_targets: Optional[ConstrainedListValue[Reference]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) AuditFileSystemsPolicyNoContext
Create an instance of AuditFileSystemsPolicyNoContext from a dict
- classmethod from_json(json_str: str) AuditFileSystemsPolicyNoContext
Create an instance of AuditFileSystemsPolicyNoContext from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
AuditGetResponse
- class pypureclient.flashblade.AuditGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[Audit]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) AuditGetResponse
Create an instance of AuditGetResponse from a dict
- classmethod from_json(json_str: str) AuditGetResponse
Create an instance of AuditGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
AuditResponse
- class pypureclient.flashblade.AuditResponse(*, items: Optional[ConstrainedListValue[Audit]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) AuditResponse
Create an instance of AuditResponse from a dict
- classmethod from_json(json_str: str) AuditResponse
Create an instance of AuditResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Blade
- class pypureclient.flashblade.Blade(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, details: Optional[StrictStr] = None, progress: Optional[Union[StrictFloat, StrictInt]] = None, raw_capacity: Optional[StrictInt] = None, status: Optional[StrictStr] = None, target: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
BladeGetResponse
- class pypureclient.flashblade.BladeGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[Blade]] = None, total: Optional[Dict[str, Any]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) BladeGetResponse
Create an instance of BladeGetResponse from a dict
- classmethod from_json(json_str: str) BladeGetResponse
Create an instance of BladeGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Bucket
- class pypureclient.flashblade.Bucket(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, context: Optional[Reference] = None, account: Optional[FixedReference] = None, bucket_type: Optional[StrictStr] = None, created: Optional[StrictInt] = None, destroyed: Optional[StrictBool] = None, eradication_config: Optional[BucketEradicationConfig] = None, hard_limit_enabled: Optional[StrictBool] = None, object_count: Optional[StrictInt] = None, object_lock_config: Optional[ObjectLockConfigResponse] = None, public_access_config: Optional[PublicAccessConfig] = None, public_status: Optional[StrictStr] = None, quota_limit: Optional[StrictInt] = None, retention_lock: Optional[StrictStr] = None, space: Optional[Space] = None, time_remaining: Optional[StrictInt] = None, time_remaining_status: Optional[StrictStr] = None, versioning: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
BucketAccessPolicy
- class pypureclient.flashblade.BucketAccessPolicy(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, enabled: Optional[StrictBool] = None, is_local: Optional[StrictBool] = None, location: Optional[FixedReference] = None, policy_type: Optional[StrictStr] = None, context: Optional[Reference] = None, bucket: Optional[FixedReference] = None, rules: Optional[ConstrainedListValue[BucketAccessPolicyRule]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) BucketAccessPolicy
Create an instance of BucketAccessPolicy from a dict
- classmethod from_json(json_str: str) BucketAccessPolicy
Create an instance of BucketAccessPolicy from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
BucketAccessPolicyGetResponse
- class pypureclient.flashblade.BucketAccessPolicyGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None, items: Optional[ConstrainedListValue[BucketAccessPolicy]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) BucketAccessPolicyGetResponse
Create an instance of BucketAccessPolicyGetResponse from a dict
- classmethod from_json(json_str: str) BucketAccessPolicyGetResponse
Create an instance of BucketAccessPolicyGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
BucketAccessPolicyPost
- class pypureclient.flashblade.BucketAccessPolicyPost(*, rules: Optional[ConstrainedListValue[BucketAccessPolicyRuleBulkManage]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) BucketAccessPolicyPost
Create an instance of BucketAccessPolicyPost from a dict
- classmethod from_json(json_str: str) BucketAccessPolicyPost
Create an instance of BucketAccessPolicyPost from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
BucketAccessPolicyResponse
- class pypureclient.flashblade.BucketAccessPolicyResponse(*, items: Optional[ConstrainedListValue[BucketAccessPolicy]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) BucketAccessPolicyResponse
Create an instance of BucketAccessPolicyResponse from a dict
- classmethod from_json(json_str: str) BucketAccessPolicyResponse
Create an instance of BucketAccessPolicyResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
BucketAccessPolicyRule
- class pypureclient.flashblade.BucketAccessPolicyRule(*, name: Optional[StrictStr] = None, actions: Optional[ConstrainedListValue[StrictStr]] = None, effect: Optional[StrictStr] = None, principals: Optional[BucketAccessPolicyRulePrincipal] = None, resources: Optional[ConstrainedListValue[StrictStr]] = None, policy: Optional[FixedReference] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) BucketAccessPolicyRule
Create an instance of BucketAccessPolicyRule from a dict
- classmethod from_json(json_str: str) BucketAccessPolicyRule
Create an instance of BucketAccessPolicyRule from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
BucketAccessPolicyRuleBulkManage
- class pypureclient.flashblade.BucketAccessPolicyRuleBulkManage(*, actions: Optional[ConstrainedListValue[StrictStr]] = None, effect: Optional[StrictStr] = None, principals: Optional[BucketAccessPolicyRulePrincipal] = None, resources: Optional[ConstrainedListValue[StrictStr]] = None, name: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) BucketAccessPolicyRuleBulkManage
Create an instance of BucketAccessPolicyRuleBulkManage from a dict
- classmethod from_json(json_str: str) BucketAccessPolicyRuleBulkManage
Create an instance of BucketAccessPolicyRuleBulkManage from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
BucketAccessPolicyRuleGetResponse
- class pypureclient.flashblade.BucketAccessPolicyRuleGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None, items: Optional[ConstrainedListValue[BucketAccessPolicyRuleWithContext]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) BucketAccessPolicyRuleGetResponse
Create an instance of BucketAccessPolicyRuleGetResponse from a dict
- classmethod from_json(json_str: str) BucketAccessPolicyRuleGetResponse
Create an instance of BucketAccessPolicyRuleGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
BucketAccessPolicyRulePost
- class pypureclient.flashblade.BucketAccessPolicyRulePost(*, actions: Optional[ConstrainedListValue[StrictStr]] = None, effect: Optional[StrictStr] = None, principals: Optional[BucketAccessPolicyRulePrincipal] = None, resources: Optional[ConstrainedListValue[StrictStr]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) BucketAccessPolicyRulePost
Create an instance of BucketAccessPolicyRulePost from a dict
- classmethod from_json(json_str: str) BucketAccessPolicyRulePost
Create an instance of BucketAccessPolicyRulePost from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
BucketAccessPolicyRulePrincipal
- class pypureclient.flashblade.BucketAccessPolicyRulePrincipal(*, all: Optional[StrictBool] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) BucketAccessPolicyRulePrincipal
Create an instance of BucketAccessPolicyRulePrincipal from a dict
- classmethod from_json(json_str: str) BucketAccessPolicyRulePrincipal
Create an instance of BucketAccessPolicyRulePrincipal from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
BucketAccessPolicyRuleResponse
- class pypureclient.flashblade.BucketAccessPolicyRuleResponse(*, items: Optional[ConstrainedListValue[BucketAccessPolicyRuleWithContext]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) BucketAccessPolicyRuleResponse
Create an instance of BucketAccessPolicyRuleResponse from a dict
- classmethod from_json(json_str: str) BucketAccessPolicyRuleResponse
Create an instance of BucketAccessPolicyRuleResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
BucketAccessPolicyRuleWithContext
- class pypureclient.flashblade.BucketAccessPolicyRuleWithContext(*, name: Optional[StrictStr] = None, actions: Optional[ConstrainedListValue[StrictStr]] = None, effect: Optional[StrictStr] = None, principals: Optional[BucketAccessPolicyRulePrincipal] = None, resources: Optional[ConstrainedListValue[StrictStr]] = None, policy: Optional[FixedReference] = None, context: Optional[Reference] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) BucketAccessPolicyRuleWithContext
Create an instance of BucketAccessPolicyRuleWithContext from a dict
- classmethod from_json(json_str: str) BucketAccessPolicyRuleWithContext
Create an instance of BucketAccessPolicyRuleWithContext from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
BucketDefaults
- class pypureclient.flashblade.BucketDefaults(*, hard_limit_enabled: Optional[StrictBool] = None, quota_limit: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) BucketDefaults
Create an instance of BucketDefaults from a dict
- classmethod from_json(json_str: str) BucketDefaults
Create an instance of BucketDefaults from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
BucketDefaultsReadonly
- class pypureclient.flashblade.BucketDefaultsReadonly(*, hard_limit_enabled: Optional[StrictBool] = None, quota_limit: Optional[StrictInt] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) BucketDefaultsReadonly
Create an instance of BucketDefaultsReadonly from a dict
- classmethod from_json(json_str: str) BucketDefaultsReadonly
Create an instance of BucketDefaultsReadonly from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
BucketEradicationConfig
- class pypureclient.flashblade.BucketEradicationConfig(*, eradication_delay: Optional[StrictInt] = None, eradication_mode: Optional[StrictStr] = None, manual_eradication: Optional[StrictStr] = None)
Configuration settings related to bucket eradication. # noqa: E501
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) BucketEradicationConfig
Create an instance of BucketEradicationConfig from a dict
- classmethod from_json(json_str: str) BucketEradicationConfig
Create an instance of BucketEradicationConfig from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
BucketGetResponse
- class pypureclient.flashblade.BucketGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[Bucket]] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None, total: Optional[Bucket] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) BucketGetResponse
Create an instance of BucketGetResponse from a dict
- classmethod from_json(json_str: str) BucketGetResponse
Create an instance of BucketGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
BucketPatch
- class pypureclient.flashblade.BucketPatch(*, destroyed: Optional[StrictBool] = None, eradication_config: Optional[BucketEradicationConfig] = None, hard_limit_enabled: Optional[StrictBool] = None, object_lock_config: Optional[ObjectLockConfigRequestBody] = None, public_access_config: Optional[PublicAccessConfig] = None, quota_limit: Optional[StrictStr] = None, retention_lock: Optional[StrictStr] = None, versioning: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) BucketPatch
Create an instance of BucketPatch from a dict
- classmethod from_json(json_str: str) BucketPatch
Create an instance of BucketPatch from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
BucketPerformance
- class pypureclient.flashblade.BucketPerformance(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, bytes_per_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, bytes_per_read: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, bytes_per_write: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, others_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, read_bytes_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, reads_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, time: Optional[StrictInt] = None, usec_per_other_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, usec_per_read_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, usec_per_write_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, write_bytes_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, writes_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) BucketPerformance
Create an instance of BucketPerformance from a dict
- classmethod from_json(json_str: str) BucketPerformance
Create an instance of BucketPerformance from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
BucketPerformanceGetResponse
- class pypureclient.flashblade.BucketPerformanceGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[BucketPerformance]] = None, total: Optional[ConstrainedListValue[BucketPerformance]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) BucketPerformanceGetResponse
Create an instance of BucketPerformanceGetResponse from a dict
- classmethod from_json(json_str: str) BucketPerformanceGetResponse
Create an instance of BucketPerformanceGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
BucketPost
- class pypureclient.flashblade.BucketPost(*, account: Optional[ReferenceWritable] = None, bucket_type: Optional[StrictStr] = None, eradication_config: Optional[BucketEradicationConfig] = None, hard_limit_enabled: Optional[StrictBool] = None, object_lock_config: Optional[ObjectLockConfigRequestBody] = None, quota_limit: Optional[StrictStr] = None, retention_lock: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) BucketPost
Create an instance of BucketPost from a dict
- classmethod from_json(json_str: str) BucketPost
Create an instance of BucketPost from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
BucketReplicaLink
- class pypureclient.flashblade.BucketReplicaLink(*, id: Optional[StrictStr] = None, direction: Optional[StrictStr] = None, lag: Optional[StrictInt] = None, status_details: Optional[StrictStr] = None, context: Optional[Reference] = None, cascading_enabled: Optional[StrictBool] = None, local_bucket: Optional[FixedReference] = None, object_backlog: Optional[ObjectBacklog] = None, paused: Optional[StrictBool] = None, recovery_point: Optional[StrictInt] = None, remote: Optional[FixedReference] = None, remote_bucket: Optional[FixedReferenceNameOnly] = None, remote_credentials: Optional[ReferenceWritable] = None, status: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) BucketReplicaLink
Create an instance of BucketReplicaLink from a dict
- classmethod from_json(json_str: str) BucketReplicaLink
Create an instance of BucketReplicaLink from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
BucketReplicaLinkGetResponse
- class pypureclient.flashblade.BucketReplicaLinkGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None, items: Optional[ConstrainedListValue[BucketReplicaLink]] = None, total: Optional[BucketReplicaLink] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) BucketReplicaLinkGetResponse
Create an instance of BucketReplicaLinkGetResponse from a dict
- classmethod from_json(json_str: str) BucketReplicaLinkGetResponse
Create an instance of BucketReplicaLinkGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
BucketReplicaLinkPost
- class pypureclient.flashblade.BucketReplicaLinkPost(*, cascading_enabled: Optional[StrictBool] = None, paused: Optional[StrictBool] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) BucketReplicaLinkPost
Create an instance of BucketReplicaLinkPost from a dict
- classmethod from_json(json_str: str) BucketReplicaLinkPost
Create an instance of BucketReplicaLinkPost from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
BucketReplicaLinkResponse
- class pypureclient.flashblade.BucketReplicaLinkResponse(*, items: Optional[ConstrainedListValue[BucketReplicaLink]] = None, total: Optional[BucketReplicaLink] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) BucketReplicaLinkResponse
Create an instance of BucketReplicaLinkResponse from a dict
- classmethod from_json(json_str: str) BucketReplicaLinkResponse
Create an instance of BucketReplicaLinkResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
BucketResponse
- class pypureclient.flashblade.BucketResponse(*, items: Optional[ConstrainedListValue[Bucket]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) BucketResponse
Create an instance of BucketResponse from a dict
- classmethod from_json(json_str: str) BucketResponse
Create an instance of BucketResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
BucketS3SpecificPerformance
- class pypureclient.flashblade.BucketS3SpecificPerformance(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, others_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, read_buckets_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, read_objects_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, time: Optional[StrictInt] = None, usec_per_other_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, usec_per_read_bucket_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, usec_per_read_object_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, usec_per_write_bucket_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, usec_per_write_object_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, write_buckets_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, write_objects_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) BucketS3SpecificPerformance
Create an instance of BucketS3SpecificPerformance from a dict
- classmethod from_json(json_str: str) BucketS3SpecificPerformance
Create an instance of BucketS3SpecificPerformance from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
BucketS3SpecificPerformanceGetResp
- class pypureclient.flashblade.BucketS3SpecificPerformanceGetResp(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[BucketS3SpecificPerformance]] = None, total: Optional[ConstrainedListValue[BucketS3SpecificPerformance]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) BucketS3SpecificPerformanceGetResp
Create an instance of BucketS3SpecificPerformanceGetResp from a dict
- classmethod from_json(json_str: str) BucketS3SpecificPerformanceGetResp
Create an instance of BucketS3SpecificPerformanceGetResp from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
BuiltIn
- class pypureclient.flashblade.BuiltIn(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
BuiltInNoId
- class pypureclient.flashblade.BuiltInNoId(*, name: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) BuiltInNoId
Create an instance of BuiltInNoId from a dict
- classmethod from_json(json_str: str) BuiltInNoId
Create an instance of BuiltInNoId from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
BuiltInRelationship
- class pypureclient.flashblade.BuiltInRelationship(*, id: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) BuiltInRelationship
Create an instance of BuiltInRelationship from a dict
- classmethod from_json(json_str: str) BuiltInRelationship
Create an instance of BuiltInRelationship from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Certificate
- class pypureclient.flashblade.Certificate(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, certificate: Optional[StrictStr] = None, certificate_type: Optional[StrictStr] = None, common_name: Optional[StrictStr] = None, country: Optional[StrictStr] = None, email: Optional[StrictStr] = None, intermediate_certificate: Optional[StrictStr] = None, issued_by: Optional[StrictStr] = None, issued_to: Optional[StrictStr] = None, key_size: Optional[StrictInt] = None, locality: Optional[StrictStr] = None, organization: Optional[StrictStr] = None, organizational_unit: Optional[StrictStr] = None, state: Optional[StrictStr] = None, status: Optional[StrictStr] = None, subject_alternative_names: Optional[ConstrainedListValue[StrictStr]] = None, valid_from: Optional[StrictStr] = None, valid_to: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) Certificate
Create an instance of Certificate from a dict
- classmethod from_json(json_str: str) Certificate
Create an instance of Certificate from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
CertificateCertificateGroupGetResp
- class pypureclient.flashblade.CertificateCertificateGroupGetResp(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[Member]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) CertificateCertificateGroupGetResp
Create an instance of CertificateCertificateGroupGetResp from a dict
- classmethod from_json(json_str: str) CertificateCertificateGroupGetResp
Create an instance of CertificateCertificateGroupGetResp from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
CertificateCertificateGroupResponse
- class pypureclient.flashblade.CertificateCertificateGroupResponse(*, items: Optional[ConstrainedListValue[Member]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) CertificateCertificateGroupResponse
Create an instance of CertificateCertificateGroupResponse from a dict
- classmethod from_json(json_str: str) CertificateCertificateGroupResponse
Create an instance of CertificateCertificateGroupResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
CertificateGetResponse
- class pypureclient.flashblade.CertificateGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[Certificate]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) CertificateGetResponse
Create an instance of CertificateGetResponse from a dict
- classmethod from_json(json_str: str) CertificateGetResponse
Create an instance of CertificateGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
CertificateGroup
- class pypureclient.flashblade.CertificateGroup(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) CertificateGroup
Create an instance of CertificateGroup from a dict
- classmethod from_json(json_str: str) CertificateGroup
Create an instance of CertificateGroup from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
CertificateGroupCertificateGetResp
- class pypureclient.flashblade.CertificateGroupCertificateGetResp(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[Member]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) CertificateGroupCertificateGetResp
Create an instance of CertificateGroupCertificateGetResp from a dict
- classmethod from_json(json_str: str) CertificateGroupCertificateGetResp
Create an instance of CertificateGroupCertificateGetResp from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
CertificateGroupCertificateResponse
- class pypureclient.flashblade.CertificateGroupCertificateResponse(*, items: Optional[ConstrainedListValue[Member]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) CertificateGroupCertificateResponse
Create an instance of CertificateGroupCertificateResponse from a dict
- classmethod from_json(json_str: str) CertificateGroupCertificateResponse
Create an instance of CertificateGroupCertificateResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
CertificateGroupGetResponse
- class pypureclient.flashblade.CertificateGroupGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[CertificateGroup]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) CertificateGroupGetResponse
Create an instance of CertificateGroupGetResponse from a dict
- classmethod from_json(json_str: str) CertificateGroupGetResponse
Create an instance of CertificateGroupGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
CertificateGroupResponse
- class pypureclient.flashblade.CertificateGroupResponse(*, items: Optional[ConstrainedListValue[CertificateGroup]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) CertificateGroupResponse
Create an instance of CertificateGroupResponse from a dict
- classmethod from_json(json_str: str) CertificateGroupResponse
Create an instance of CertificateGroupResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
CertificateGroupUse
- class pypureclient.flashblade.CertificateGroupUse(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, use: Optional[FixedReferenceWithRemote] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) CertificateGroupUse
Create an instance of CertificateGroupUse from a dict
- classmethod from_json(json_str: str) CertificateGroupUse
Create an instance of CertificateGroupUse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
CertificateGroupUseGetResponse
- class pypureclient.flashblade.CertificateGroupUseGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[CertificateGroupUse]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) CertificateGroupUseGetResponse
Create an instance of CertificateGroupUseGetResponse from a dict
- classmethod from_json(json_str: str) CertificateGroupUseGetResponse
Create an instance of CertificateGroupUseGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
CertificatePatch
- class pypureclient.flashblade.CertificatePatch(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, certificate: Optional[StrictStr] = None, intermediate_certificate: Optional[StrictStr] = None, passphrase: Optional[StrictStr] = None, private_key: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) CertificatePatch
Create an instance of CertificatePatch from a dict
- classmethod from_json(json_str: str) CertificatePatch
Create an instance of CertificatePatch from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
CertificatePost
- class pypureclient.flashblade.CertificatePost(*, name: Optional[StrictStr] = None, certificate: Optional[StrictStr] = None, certificate_type: Optional[StrictStr] = None, common_name: Optional[StrictStr] = None, country: Optional[StrictStr] = None, email: Optional[StrictStr] = None, intermediate_certificate: Optional[StrictStr] = None, issued_by: Optional[StrictStr] = None, issued_to: Optional[StrictStr] = None, key_size: Optional[StrictInt] = None, locality: Optional[StrictStr] = None, organization: Optional[StrictStr] = None, organizational_unit: Optional[StrictStr] = None, passphrase: Optional[StrictStr] = None, private_key: Optional[StrictStr] = None, state: Optional[StrictStr] = None, status: Optional[StrictStr] = None, valid_from: Optional[StrictStr] = None, valid_to: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) CertificatePost
Create an instance of CertificatePost from a dict
- classmethod from_json(json_str: str) CertificatePost
Create an instance of CertificatePost from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
CertificateResponse
- class pypureclient.flashblade.CertificateResponse(*, items: Optional[ConstrainedListValue[Certificate]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) CertificateResponse
Create an instance of CertificateResponse from a dict
- classmethod from_json(json_str: str) CertificateResponse
Create an instance of CertificateResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
CertificateUse
- class pypureclient.flashblade.CertificateUse(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, group: Optional[FixedReference] = None, use: Optional[FixedReferenceWithRemote] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) CertificateUse
Create an instance of CertificateUse from a dict
- classmethod from_json(json_str: str) CertificateUse
Create an instance of CertificateUse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
CertificateUseGetResponse
- class pypureclient.flashblade.CertificateUseGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[CertificateUse]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) CertificateUseGetResponse
Create an instance of CertificateUseGetResponse from a dict
- classmethod from_json(json_str: str) CertificateUseGetResponse
Create an instance of CertificateUseGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ClientPerformance
- class pypureclient.flashblade.ClientPerformance(*, name: Optional[StrictStr] = None, bytes_per_op: Optional[ConstrainedIntValue] = None, bytes_per_read: Optional[ConstrainedIntValue] = None, bytes_per_write: Optional[ConstrainedIntValue] = None, others_per_sec: Optional[ConstrainedIntValue] = None, read_bytes_per_sec: Optional[ConstrainedIntValue] = None, reads_per_sec: Optional[ConstrainedIntValue] = None, time: Optional[StrictInt] = None, usec_per_other_op: Optional[ConstrainedIntValue] = None, usec_per_read_op: Optional[ConstrainedIntValue] = None, usec_per_write_op: Optional[ConstrainedIntValue] = None, write_bytes_per_sec: Optional[ConstrainedIntValue] = None, writes_per_sec: Optional[ConstrainedIntValue] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ClientPerformance
Create an instance of ClientPerformance from a dict
- classmethod from_json(json_str: str) ClientPerformance
Create an instance of ClientPerformance from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ClientPerformanceGetResponse
- class pypureclient.flashblade.ClientPerformanceGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None, items: Optional[ConstrainedListValue[ClientPerformance]] = None, total: Optional[ConstrainedListValue[ClientPerformance]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ClientPerformanceGetResponse
Create an instance of ClientPerformanceGetResponse from a dict
- classmethod from_json(json_str: str) ClientPerformanceGetResponse
Create an instance of ClientPerformanceGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ConnectionRelationshipPerformanceReplication
- class pypureclient.flashblade.ConnectionRelationshipPerformanceReplication(*, id: Optional[StrictStr] = None, aggregate: Optional[ReplicationPerformance] = None, continuous: Optional[ContinuousReplicationPerformance] = None, periodic: Optional[ReplicationPerformance] = None, remote: Optional[FixedReferenceNoResourceType] = None, time: Optional[StrictInt] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ConnectionRelationshipPerformanceReplication
Create an instance of ConnectionRelationshipPerformanceReplication from a dict
- classmethod from_json(json_str: str) ConnectionRelationshipPerformanceReplication
Create an instance of ConnectionRelationshipPerformanceReplication from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ConnectionRelationshipPerformanceReplicationGetResp
- class pypureclient.flashblade.ConnectionRelationshipPerformanceReplicationGetResp(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[ConnectionRelationshipPerformanceReplication]] = None, total: Optional[ConstrainedListValue[ConnectionRelationshipPerformanceReplication]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ConnectionRelationshipPerformanceReplicationGetResp
Create an instance of ConnectionRelationshipPerformanceReplicationGetResp from a dict
- classmethod from_json(json_str: str) ConnectionRelationshipPerformanceReplicationGetResp
Create an instance of ConnectionRelationshipPerformanceReplicationGetResp from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Context
- class pypureclient.flashblade.Context(*, context: Optional[Reference] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ContinuousReplicationPerformance
- class pypureclient.flashblade.ContinuousReplicationPerformance(*, received_bytes_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, transmitted_bytes_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, object_backlog: Optional[ObjectBacklog] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ContinuousReplicationPerformance
Create an instance of ContinuousReplicationPerformance from a dict
- classmethod from_json(json_str: str) ContinuousReplicationPerformance
Create an instance of ContinuousReplicationPerformance from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
CrossOriginResourceSharingPolicy
- class pypureclient.flashblade.CrossOriginResourceSharingPolicy(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, enabled: Optional[StrictBool] = None, is_local: Optional[StrictBool] = None, location: Optional[FixedReference] = None, policy_type: Optional[StrictStr] = None, context: Optional[Reference] = None, bucket: Optional[FixedReference] = None, rules: Optional[ConstrainedListValue[CrossOriginResourceSharingPolicyRuleWithContext]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) CrossOriginResourceSharingPolicy
Create an instance of CrossOriginResourceSharingPolicy from a dict
- classmethod from_json(json_str: str) CrossOriginResourceSharingPolicy
Create an instance of CrossOriginResourceSharingPolicy from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
CrossOriginResourceSharingPolicyGetResponse
- class pypureclient.flashblade.CrossOriginResourceSharingPolicyGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None, items: Optional[ConstrainedListValue[CrossOriginResourceSharingPolicy]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) CrossOriginResourceSharingPolicyGetResponse
Create an instance of CrossOriginResourceSharingPolicyGetResponse from a dict
- classmethod from_json(json_str: str) CrossOriginResourceSharingPolicyGetResponse
Create an instance of CrossOriginResourceSharingPolicyGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
CrossOriginResourceSharingPolicyPatch
- class pypureclient.flashblade.CrossOriginResourceSharingPolicyPatch(*, rules: Optional[ConstrainedListValue[CrossOriginResourceSharingPolicyRuleBulkManage]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) CrossOriginResourceSharingPolicyPatch
Create an instance of CrossOriginResourceSharingPolicyPatch from a dict
- classmethod from_json(json_str: str) CrossOriginResourceSharingPolicyPatch
Create an instance of CrossOriginResourceSharingPolicyPatch from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
CrossOriginResourceSharingPolicyResponse
- class pypureclient.flashblade.CrossOriginResourceSharingPolicyResponse(*, items: Optional[ConstrainedListValue[CrossOriginResourceSharingPolicy]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) CrossOriginResourceSharingPolicyResponse
Create an instance of CrossOriginResourceSharingPolicyResponse from a dict
- classmethod from_json(json_str: str) CrossOriginResourceSharingPolicyResponse
Create an instance of CrossOriginResourceSharingPolicyResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
CrossOriginResourceSharingPolicyRule
- class pypureclient.flashblade.CrossOriginResourceSharingPolicyRule(*, name: Optional[StrictStr] = None, allowed_headers: Optional[ConstrainedListValue[StrictStr]] = None, allowed_methods: Optional[ConstrainedListValue[StrictStr]] = None, allowed_origins: Optional[ConstrainedListValue[StrictStr]] = None, context: Optional[Reference] = None, policy: Optional[FixedReference] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) CrossOriginResourceSharingPolicyRule
Create an instance of CrossOriginResourceSharingPolicyRule from a dict
- classmethod from_json(json_str: str) CrossOriginResourceSharingPolicyRule
Create an instance of CrossOriginResourceSharingPolicyRule from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
CrossOriginResourceSharingPolicyRuleBulkManage
- class pypureclient.flashblade.CrossOriginResourceSharingPolicyRuleBulkManage(*, allowed_headers: Optional[ConstrainedListValue[StrictStr]] = None, allowed_methods: Optional[ConstrainedListValue[StrictStr]] = None, allowed_origins: Optional[ConstrainedListValue[StrictStr]] = None, name: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) CrossOriginResourceSharingPolicyRuleBulkManage
Create an instance of CrossOriginResourceSharingPolicyRuleBulkManage from a dict
- classmethod from_json(json_str: str) CrossOriginResourceSharingPolicyRuleBulkManage
Create an instance of CrossOriginResourceSharingPolicyRuleBulkManage from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
CrossOriginResourceSharingPolicyRuleGetResponse
- class pypureclient.flashblade.CrossOriginResourceSharingPolicyRuleGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None, items: Optional[ConstrainedListValue[CrossOriginResourceSharingPolicyRuleWithContext]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) CrossOriginResourceSharingPolicyRuleGetResponse
Create an instance of CrossOriginResourceSharingPolicyRuleGetResponse from a dict
- classmethod from_json(json_str: str) CrossOriginResourceSharingPolicyRuleGetResponse
Create an instance of CrossOriginResourceSharingPolicyRuleGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
CrossOriginResourceSharingPolicyRulePost
- class pypureclient.flashblade.CrossOriginResourceSharingPolicyRulePost(*, allowed_headers: Optional[ConstrainedListValue[StrictStr]] = None, allowed_methods: Optional[ConstrainedListValue[StrictStr]] = None, allowed_origins: Optional[ConstrainedListValue[StrictStr]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) CrossOriginResourceSharingPolicyRulePost
Create an instance of CrossOriginResourceSharingPolicyRulePost from a dict
- classmethod from_json(json_str: str) CrossOriginResourceSharingPolicyRulePost
Create an instance of CrossOriginResourceSharingPolicyRulePost from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
CrossOriginResourceSharingPolicyRuleResponse
- class pypureclient.flashblade.CrossOriginResourceSharingPolicyRuleResponse(*, items: Optional[ConstrainedListValue[CrossOriginResourceSharingPolicyRuleWithContext]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) CrossOriginResourceSharingPolicyRuleResponse
Create an instance of CrossOriginResourceSharingPolicyRuleResponse from a dict
- classmethod from_json(json_str: str) CrossOriginResourceSharingPolicyRuleResponse
Create an instance of CrossOriginResourceSharingPolicyRuleResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
CrossOriginResourceSharingPolicyRuleWithContext
- class pypureclient.flashblade.CrossOriginResourceSharingPolicyRuleWithContext(*, name: Optional[StrictStr] = None, allowed_headers: Optional[ConstrainedListValue[StrictStr]] = None, allowed_methods: Optional[ConstrainedListValue[StrictStr]] = None, allowed_origins: Optional[ConstrainedListValue[StrictStr]] = None, context: Optional[Reference] = None, policy: Optional[FixedReference] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) CrossOriginResourceSharingPolicyRuleWithContext
Create an instance of CrossOriginResourceSharingPolicyRuleWithContext from a dict
- classmethod from_json(json_str: str) CrossOriginResourceSharingPolicyRuleWithContext
Create an instance of CrossOriginResourceSharingPolicyRuleWithContext from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
DirectoryService
- class pypureclient.flashblade.DirectoryService(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, base_dn: Optional[StrictStr] = None, bind_password: Optional[StrictStr] = None, bind_user: Optional[StrictStr] = None, ca_certificate: Optional[Reference] = None, ca_certificate_group: Optional[Reference] = None, enabled: Optional[StrictBool] = None, management: Optional[DirectoryServiceManagement] = None, nfs: Optional[DirectoryServiceNfs] = None, services: Optional[ConstrainedListValue[StrictStr]] = None, smb: Optional[DirectoryServiceSmb] = None, uris: Optional[ConstrainedListValue[ConstrainedStrValue]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) DirectoryService
Create an instance of DirectoryService from a dict
- classmethod from_json(json_str: str) DirectoryService
Create an instance of DirectoryService from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
DirectoryServiceGetResponse
- class pypureclient.flashblade.DirectoryServiceGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[DirectoryService]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) DirectoryServiceGetResponse
Create an instance of DirectoryServiceGetResponse from a dict
- classmethod from_json(json_str: str) DirectoryServiceGetResponse
Create an instance of DirectoryServiceGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
DirectoryServiceManagement
- class pypureclient.flashblade.DirectoryServiceManagement(*, user_login_attribute: Optional[StrictStr] = None, user_object_class: Optional[StrictStr] = None)
Properties specific to the management service. # noqa: E501
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) DirectoryServiceManagement
Create an instance of DirectoryServiceManagement from a dict
- classmethod from_json(json_str: str) DirectoryServiceManagement
Create an instance of DirectoryServiceManagement from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
DirectoryServiceNfs
- class pypureclient.flashblade.DirectoryServiceNfs(*, nis_domains: Optional[ConstrainedListValue[StrictStr]] = None, nis_servers: Optional[ConstrainedListValue[StrictStr]] = None)
Properties specific to the NFS service. # noqa: E501
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) DirectoryServiceNfs
Create an instance of DirectoryServiceNfs from a dict
- classmethod from_json(json_str: str) DirectoryServiceNfs
Create an instance of DirectoryServiceNfs from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
DirectoryServiceResponse
- class pypureclient.flashblade.DirectoryServiceResponse(*, items: Optional[ConstrainedListValue[DirectoryService]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) DirectoryServiceResponse
Create an instance of DirectoryServiceResponse from a dict
- classmethod from_json(json_str: str) DirectoryServiceResponse
Create an instance of DirectoryServiceResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
DirectoryServiceRole
- class pypureclient.flashblade.DirectoryServiceRole(*, group: Optional[StrictStr] = None, group_base: Optional[StrictStr] = None, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, role: Optional[ReferenceWritable] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) DirectoryServiceRole
Create an instance of DirectoryServiceRole from a dict
- classmethod from_json(json_str: str) DirectoryServiceRole
Create an instance of DirectoryServiceRole from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
DirectoryServiceRolesGetResponse
- class pypureclient.flashblade.DirectoryServiceRolesGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[DirectoryServiceRole]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) DirectoryServiceRolesGetResponse
Create an instance of DirectoryServiceRolesGetResponse from a dict
- classmethod from_json(json_str: str) DirectoryServiceRolesGetResponse
Create an instance of DirectoryServiceRolesGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
DirectoryServiceRolesResponse
- class pypureclient.flashblade.DirectoryServiceRolesResponse(*, items: Optional[ConstrainedListValue[DirectoryServiceRole]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) DirectoryServiceRolesResponse
Create an instance of DirectoryServiceRolesResponse from a dict
- classmethod from_json(json_str: str) DirectoryServiceRolesResponse
Create an instance of DirectoryServiceRolesResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
DirectoryServiceSmb
- class pypureclient.flashblade.DirectoryServiceSmb(*, join_ou: Optional[StrictStr] = None)
DEPRECATED - Properties specific to the SMB service. # noqa: E501
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) DirectoryServiceSmb
Create an instance of DirectoryServiceSmb from a dict
- classmethod from_json(json_str: str) DirectoryServiceSmb
Create an instance of DirectoryServiceSmb from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Dns
- class pypureclient.flashblade.Dns(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, domain: Optional[StrictStr] = None, nameservers: Optional[ConstrainedListValue[StrictStr]] = None, services: Optional[ConstrainedListValue[StrictStr]] = None, sources: Optional[ConstrainedListValue[Reference]] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
DnsGetResponse
- class pypureclient.flashblade.DnsGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[Dns]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) DnsGetResponse
Create an instance of DnsGetResponse from a dict
- classmethod from_json(json_str: str) DnsGetResponse
Create an instance of DnsGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
DnsPost
- class pypureclient.flashblade.DnsPost(*, domain: Optional[StrictStr] = None, nameservers: Optional[ConstrainedListValue[StrictStr]] = None, services: Optional[ConstrainedListValue[StrictStr]] = None, sources: Optional[ConstrainedListValue[Reference]] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
DnsResponse
- class pypureclient.flashblade.DnsResponse(*, items: Optional[ConstrainedListValue[Dns]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) DnsResponse
Create an instance of DnsResponse from a dict
- classmethod from_json(json_str: str) DnsResponse
Create an instance of DnsResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Drive
- class pypureclient.flashblade.Drive(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, details: Optional[StrictStr] = None, progress: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, raw_capacity: Optional[StrictInt] = None, status: Optional[StrictStr] = None, type: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
DriveGetResponse
- class pypureclient.flashblade.DriveGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[Drive]] = None, total: Optional[Dict[str, Any]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) DriveGetResponse
Create an instance of DriveGetResponse from a dict
- classmethod from_json(json_str: str) DriveGetResponse
Create an instance of DriveGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ErrorContextResponse
- class pypureclient.flashblade.ErrorContextResponse(*, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ErrorContextResponse
Create an instance of ErrorContextResponse from a dict
- classmethod from_json(json_str: str) ErrorContextResponse
Create an instance of ErrorContextResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ErrorContextResponseErrors
- class pypureclient.flashblade.ErrorContextResponseErrors(*, context: Optional[StrictStr] = None, location_context: Optional[FixedReferenceWithType] = None, message: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ErrorContextResponseErrors
Create an instance of ErrorContextResponseErrors from a dict
- classmethod from_json(json_str: str) ErrorContextResponseErrors
Create an instance of ErrorContextResponseErrors from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Eula
- class pypureclient.flashblade.Eula(*, agreement: Optional[StrictStr] = None, signature: Optional[EulaSignature] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
EulaGetResponse
- class pypureclient.flashblade.EulaGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[Eula]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) EulaGetResponse
Create an instance of EulaGetResponse from a dict
- classmethod from_json(json_str: str) EulaGetResponse
Create an instance of EulaGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
EulaResponse
- class pypureclient.flashblade.EulaResponse(*, items: Optional[ConstrainedListValue[Eula]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) EulaResponse
Create an instance of EulaResponse from a dict
- classmethod from_json(json_str: str) EulaResponse
Create an instance of EulaResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
EulaSignature
- class pypureclient.flashblade.EulaSignature(*, accepted: Optional[StrictInt] = None, company: Optional[StrictStr] = None, name: Optional[StrictStr] = None, title: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) EulaSignature
Create an instance of EulaSignature from a dict
- classmethod from_json(json_str: str) EulaSignature
Create an instance of EulaSignature from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileInfo
- class pypureclient.flashblade.FileInfo(*, name: Optional[StrictStr] = None, length: Optional[StrictInt] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileLock
- class pypureclient.flashblade.FileLock(*, name: Optional[StrictStr] = None, access_type: Optional[StrictStr] = None, client: Optional[FixedReferenceNoId] = None, created_at: Optional[StrictInt] = None, inode: Optional[StrictInt] = None, path: Optional[StrictStr] = None, protocol: Optional[StrictStr] = None, range: Optional[FileLockRange] = None, source: Optional[FixedReference] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileLockGetResponse
- class pypureclient.flashblade.FileLockGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[FileLock]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FileLockGetResponse
Create an instance of FileLockGetResponse from a dict
- classmethod from_json(json_str: str) FileLockGetResponse
Create an instance of FileLockGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileLockNlmReclamationResponse
- class pypureclient.flashblade.FileLockNlmReclamationResponse(*, items: Optional[ConstrainedListValue[FileSystemLockNlmReclamation]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FileLockNlmReclamationResponse
Create an instance of FileLockNlmReclamationResponse from a dict
- classmethod from_json(json_str: str) FileLockNlmReclamationResponse
Create an instance of FileLockNlmReclamationResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileLockRange
- class pypureclient.flashblade.FileLockRange(*, length: Optional[StrictInt] = None, offset: Optional[StrictInt] = None)
The range in bytes (offset, length) the lock covers within a file. If the lock reaches the end of the file, the length will be null. If the lock is set for the entire file, both offset and length will be null. # noqa: E501
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FileLockRange
Create an instance of FileLockRange from a dict
- classmethod from_json(json_str: str) FileLockRange
Create an instance of FileLockRange from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileLockResponse
- class pypureclient.flashblade.FileLockResponse(*, items: Optional[ConstrainedListValue[FileLock]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FileLockResponse
Create an instance of FileLockResponse from a dict
- classmethod from_json(json_str: str) FileLockResponse
Create an instance of FileLockResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileSession
- class pypureclient.flashblade.FileSession(*, name: Optional[StrictStr] = None, authentication: Optional[StrictStr] = None, client: Optional[FixedReferenceNameOnly] = None, connection_time: Optional[StrictInt] = None, idle_time: Optional[StrictInt] = None, opens: Optional[StrictInt] = None, port: Optional[StrictInt] = None, protocol: Optional[StrictStr] = None, time: Optional[StrictInt] = None, user: Optional[UserNoId] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FileSession
Create an instance of FileSession from a dict
- classmethod from_json(json_str: str) FileSession
Create an instance of FileSession from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileSessionGetResponse
- class pypureclient.flashblade.FileSessionGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[FileSession]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FileSessionGetResponse
Create an instance of FileSessionGetResponse from a dict
- classmethod from_json(json_str: str) FileSessionGetResponse
Create an instance of FileSessionGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileSessionResponse
- class pypureclient.flashblade.FileSessionResponse(*, items: Optional[ConstrainedListValue[FileSession]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FileSessionResponse
Create an instance of FileSessionResponse from a dict
- classmethod from_json(json_str: str) FileSessionResponse
Create an instance of FileSessionResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileSystem
- class pypureclient.flashblade.FileSystem(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, context: Optional[Reference] = None, created: Optional[StrictInt] = None, default_group_quota: Optional[StrictInt] = None, default_user_quota: Optional[StrictInt] = None, destroyed: Optional[StrictBool] = None, eradication_config: Optional[FileSystemEradicationConfig] = None, fast_remove_directory_enabled: Optional[StrictBool] = None, group_ownership: Optional[StrictStr] = None, hard_limit_enabled: Optional[StrictBool] = None, http: Optional[Http] = None, multi_protocol: Optional[MultiProtocol] = None, nfs: Optional[Nfs] = None, promotion_status: Optional[StrictStr] = None, provisioned: Optional[StrictInt] = None, qos_policy: Optional[FixedReference] = None, requested_promotion_state: Optional[StrictStr] = None, smb: Optional[Smb] = None, snapshot_directory_enabled: Optional[StrictBool] = None, source: Optional[LocationReference] = None, space: Optional[Space] = None, storage_class: Optional[StorageClassInfo] = None, time_remaining: Optional[StrictInt] = None, writable: Optional[StrictBool] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FileSystem
Create an instance of FileSystem from a dict
- classmethod from_json(json_str: str) FileSystem
Create an instance of FileSystem from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileSystemClient
- class pypureclient.flashblade.FileSystemClient(*, name: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FileSystemClient
Create an instance of FileSystemClient from a dict
- classmethod from_json(json_str: str) FileSystemClient
Create an instance of FileSystemClient from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileSystemClientsGetResponse
- class pypureclient.flashblade.FileSystemClientsGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[FileSystemClient]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FileSystemClientsGetResponse
Create an instance of FileSystemClientsGetResponse from a dict
- classmethod from_json(json_str: str) FileSystemClientsGetResponse
Create an instance of FileSystemClientsGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileSystemClientsResponse
- class pypureclient.flashblade.FileSystemClientsResponse(*, items: Optional[ConstrainedListValue[FileSystemClient]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FileSystemClientsResponse
Create an instance of FileSystemClientsResponse from a dict
- classmethod from_json(json_str: str) FileSystemClientsResponse
Create an instance of FileSystemClientsResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileSystemEradicationConfig
- class pypureclient.flashblade.FileSystemEradicationConfig(*, eradication_mode: Optional[StrictStr] = None, manual_eradication: Optional[StrictStr] = None)
Configuration settings related to file system eradication. # noqa: E501
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FileSystemEradicationConfig
Create an instance of FileSystemEradicationConfig from a dict
- classmethod from_json(json_str: str) FileSystemEradicationConfig
Create an instance of FileSystemEradicationConfig from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileSystemExport
- class pypureclient.flashblade.FileSystemExport(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, context: Optional[Reference] = None, enabled: Optional[StrictBool] = None, export_name: Optional[StrictStr] = None, member: Optional[FixedReference] = None, policy: Optional[Reference] = None, policy_type: Optional[StrictStr] = None, server: Optional[FixedReference] = None, share_policy: Optional[Reference] = None, status: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FileSystemExport
Create an instance of FileSystemExport from a dict
- classmethod from_json(json_str: str) FileSystemExport
Create an instance of FileSystemExport from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileSystemExportGetResponse
- class pypureclient.flashblade.FileSystemExportGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[FileSystemExport]] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FileSystemExportGetResponse
Create an instance of FileSystemExportGetResponse from a dict
- classmethod from_json(json_str: str) FileSystemExportGetResponse
Create an instance of FileSystemExportGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileSystemExportPost
- class pypureclient.flashblade.FileSystemExportPost(*, export_name: Optional[StrictStr] = None, server: Optional[Reference] = None, share_policy: Optional[Reference] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FileSystemExportPost
Create an instance of FileSystemExportPost from a dict
- classmethod from_json(json_str: str) FileSystemExportPost
Create an instance of FileSystemExportPost from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileSystemExportResponse
- class pypureclient.flashblade.FileSystemExportResponse(*, items: Optional[ConstrainedListValue[FileSystemExport]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FileSystemExportResponse
Create an instance of FileSystemExportResponse from a dict
- classmethod from_json(json_str: str) FileSystemExportResponse
Create an instance of FileSystemExportResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileSystemGetResponse
- class pypureclient.flashblade.FileSystemGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[FileSystem]] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None, total: Optional[FileSystem] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FileSystemGetResponse
Create an instance of FileSystemGetResponse from a dict
- classmethod from_json(json_str: str) FileSystemGetResponse
Create an instance of FileSystemGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileSystemGroupPerformance
- class pypureclient.flashblade.FileSystemGroupPerformance(*, name: Optional[StrictStr] = None, bytes_per_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, bytes_per_read: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, bytes_per_write: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, file_system: Optional[FixedReference] = None, group: Optional[Group] = None, others_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, read_bytes_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, reads_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, time: Optional[StrictInt] = None, usec_per_other_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, usec_per_read_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, usec_per_write_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, write_bytes_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, writes_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FileSystemGroupPerformance
Create an instance of FileSystemGroupPerformance from a dict
- classmethod from_json(json_str: str) FileSystemGroupPerformance
Create an instance of FileSystemGroupPerformance from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileSystemGroupsPerformanceGetResponse
- class pypureclient.flashblade.FileSystemGroupsPerformanceGetResponse(*, items: Optional[ConstrainedListValue[FileSystemGroupPerformance]] = None, total: Optional[ConstrainedListValue[FileSystemGroupPerformance]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FileSystemGroupsPerformanceGetResponse
Create an instance of FileSystemGroupsPerformanceGetResponse from a dict
- classmethod from_json(json_str: str) FileSystemGroupsPerformanceGetResponse
Create an instance of FileSystemGroupsPerformanceGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileSystemLockNlmReclamation
- class pypureclient.flashblade.FileSystemLockNlmReclamation(*, end: Optional[StrictInt] = None, start: Optional[StrictInt] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FileSystemLockNlmReclamation
Create an instance of FileSystemLockNlmReclamation from a dict
- classmethod from_json(json_str: str) FileSystemLockNlmReclamation
Create an instance of FileSystemLockNlmReclamation from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileSystemOpenFile
- class pypureclient.flashblade.FileSystemOpenFile(*, client: Optional[FixedReferenceNameOnly] = None, id: Optional[StrictStr] = None, lock_count: Optional[ConstrainedIntValue] = None, mode: Optional[StrictStr] = None, path: Optional[StrictStr] = None, session: Optional[FixedReferenceNameOnly] = None, source: Optional[FixedReference] = None, user: Optional[UserNoId] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FileSystemOpenFile
Create an instance of FileSystemOpenFile from a dict
- classmethod from_json(json_str: str) FileSystemOpenFile
Create an instance of FileSystemOpenFile from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileSystemOpenFilesGetResponse
- class pypureclient.flashblade.FileSystemOpenFilesGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[FileSystemOpenFile]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FileSystemOpenFilesGetResponse
Create an instance of FileSystemOpenFilesGetResponse from a dict
- classmethod from_json(json_str: str) FileSystemOpenFilesGetResponse
Create an instance of FileSystemOpenFilesGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileSystemOpenFilesResponse
- class pypureclient.flashblade.FileSystemOpenFilesResponse(*, items: Optional[ConstrainedListValue[FileSystemOpenFile]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FileSystemOpenFilesResponse
Create an instance of FileSystemOpenFilesResponse from a dict
- classmethod from_json(json_str: str) FileSystemOpenFilesResponse
Create an instance of FileSystemOpenFilesResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileSystemPatch
- class pypureclient.flashblade.FileSystemPatch(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, created: Optional[StrictInt] = None, default_group_quota: Optional[StrictInt] = None, default_user_quota: Optional[StrictInt] = None, destroyed: Optional[StrictBool] = None, fast_remove_directory_enabled: Optional[StrictBool] = None, group_ownership: Optional[StrictStr] = None, hard_limit_enabled: Optional[StrictBool] = None, http: Optional[Http] = None, multi_protocol: Optional[MultiProtocol] = None, nfs: Optional[NfsPatch] = None, promotion_status: Optional[StrictStr] = None, provisioned: Optional[StrictInt] = None, qos_policy: Optional[Reference] = None, requested_promotion_state: Optional[StrictStr] = None, smb: Optional[Smb] = None, snapshot_directory_enabled: Optional[StrictBool] = None, source: Optional[FixedLocationReference] = None, storage_class: Optional[StorageClassInfo] = None, time_remaining: Optional[StrictInt] = None, writable: Optional[StrictBool] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FileSystemPatch
Create an instance of FileSystemPatch from a dict
- classmethod from_json(json_str: str) FileSystemPatch
Create an instance of FileSystemPatch from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileSystemPerformance
- class pypureclient.flashblade.FileSystemPerformance(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, bytes_per_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, bytes_per_read: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, bytes_per_write: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, others_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, read_bytes_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, reads_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, time: Optional[StrictInt] = None, usec_per_other_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, usec_per_read_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, usec_per_write_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, write_bytes_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, writes_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FileSystemPerformance
Create an instance of FileSystemPerformance from a dict
- classmethod from_json(json_str: str) FileSystemPerformance
Create an instance of FileSystemPerformance from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileSystemPerformanceGetResponse
- class pypureclient.flashblade.FileSystemPerformanceGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[FileSystemPerformance]] = None, total: Optional[ConstrainedListValue[FileSystemPerformance]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FileSystemPerformanceGetResponse
Create an instance of FileSystemPerformanceGetResponse from a dict
- classmethod from_json(json_str: str) FileSystemPerformanceGetResponse
Create an instance of FileSystemPerformanceGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileSystemPost
- class pypureclient.flashblade.FileSystemPost(*, default_group_quota: Optional[StrictInt] = None, default_user_quota: Optional[StrictInt] = None, eradication_config: Optional[FileSystemEradicationConfig] = None, fast_remove_directory_enabled: Optional[StrictBool] = None, group_ownership: Optional[StrictStr] = None, hard_limit_enabled: Optional[StrictBool] = None, http: Optional[Http] = None, multi_protocol: Optional[MultiProtocolPost] = None, nfs: Optional[Nfs] = None, provisioned: Optional[StrictInt] = None, qos_policy: Optional[Reference] = None, requested_promotion_state: Optional[StrictStr] = None, smb: Optional[SmbPost] = None, snapshot_directory_enabled: Optional[StrictBool] = None, source: Optional[Reference] = None, writable: Optional[StrictBool] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FileSystemPost
Create an instance of FileSystemPost from a dict
- classmethod from_json(json_str: str) FileSystemPost
Create an instance of FileSystemPost from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileSystemReplicaLink
- class pypureclient.flashblade.FileSystemReplicaLink(*, id: Optional[StrictStr] = None, direction: Optional[StrictStr] = None, lag: Optional[StrictInt] = None, status_details: Optional[StrictStr] = None, context: Optional[Reference] = None, link_type: Optional[StrictStr] = None, local_file_system: Optional[FixedReference] = None, policies: Optional[ConstrainedListValue[LocationReference]] = None, recovery_point: Optional[StrictInt] = None, remote: Optional[FixedReferenceNoResourceType] = None, remote_file_system: Optional[FixedReferenceNoResourceType] = None, status: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FileSystemReplicaLink
Create an instance of FileSystemReplicaLink from a dict
- classmethod from_json(json_str: str) FileSystemReplicaLink
Create an instance of FileSystemReplicaLink from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileSystemReplicaLinkGetResponse
- class pypureclient.flashblade.FileSystemReplicaLinkGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[FileSystemReplicaLink]] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FileSystemReplicaLinkGetResponse
Create an instance of FileSystemReplicaLinkGetResponse from a dict
- classmethod from_json(json_str: str) FileSystemReplicaLinkGetResponse
Create an instance of FileSystemReplicaLinkGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileSystemReplicaLinkResponse
- class pypureclient.flashblade.FileSystemReplicaLinkResponse(*, items: Optional[ConstrainedListValue[FileSystemReplicaLink]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FileSystemReplicaLinkResponse
Create an instance of FileSystemReplicaLinkResponse from a dict
- classmethod from_json(json_str: str) FileSystemReplicaLinkResponse
Create an instance of FileSystemReplicaLinkResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileSystemResponse
- class pypureclient.flashblade.FileSystemResponse(*, items: Optional[ConstrainedListValue[FileSystem]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FileSystemResponse
Create an instance of FileSystemResponse from a dict
- classmethod from_json(json_str: str) FileSystemResponse
Create an instance of FileSystemResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileSystemSnapshot
- class pypureclient.flashblade.FileSystemSnapshot(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, context: Optional[Reference] = None, created: Optional[StrictInt] = None, destroyed: Optional[StrictBool] = None, owner: Optional[FixedReference] = None, owner_destroyed: Optional[StrictBool] = None, policies: Optional[ConstrainedListValue[FixedLocationReference]] = None, policy: Optional[FixedLocationReference] = None, source: Optional[FixedLocationReference] = None, suffix: Optional[StrictStr] = None, time_remaining: Optional[StrictInt] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FileSystemSnapshot
Create an instance of FileSystemSnapshot from a dict
- classmethod from_json(json_str: str) FileSystemSnapshot
Create an instance of FileSystemSnapshot from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileSystemSnapshotGetResponse
- class pypureclient.flashblade.FileSystemSnapshotGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[FileSystemSnapshot]] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None, total: Optional[FileSystemSnapshot] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FileSystemSnapshotGetResponse
Create an instance of FileSystemSnapshotGetResponse from a dict
- classmethod from_json(json_str: str) FileSystemSnapshotGetResponse
Create an instance of FileSystemSnapshotGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileSystemSnapshotGetTransferResponse
- class pypureclient.flashblade.FileSystemSnapshotGetTransferResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[FileSystemSnapshotTransfer]] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None, total: Optional[FileSystemSnapshotTransfer] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FileSystemSnapshotGetTransferResponse
Create an instance of FileSystemSnapshotGetTransferResponse from a dict
- classmethod from_json(json_str: str) FileSystemSnapshotGetTransferResponse
Create an instance of FileSystemSnapshotGetTransferResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileSystemSnapshotPost
- class pypureclient.flashblade.FileSystemSnapshotPost(*, suffix: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FileSystemSnapshotPost
Create an instance of FileSystemSnapshotPost from a dict
- classmethod from_json(json_str: str) FileSystemSnapshotPost
Create an instance of FileSystemSnapshotPost from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileSystemSnapshotResponse
- class pypureclient.flashblade.FileSystemSnapshotResponse(*, items: Optional[ConstrainedListValue[FileSystemSnapshot]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FileSystemSnapshotResponse
Create an instance of FileSystemSnapshotResponse from a dict
- classmethod from_json(json_str: str) FileSystemSnapshotResponse
Create an instance of FileSystemSnapshotResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileSystemSnapshotTransfer
- class pypureclient.flashblade.FileSystemSnapshotTransfer(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, context: Optional[Reference] = None, completed: Optional[StrictInt] = None, data_transferred: Optional[StrictInt] = None, direction: Optional[StrictStr] = None, local_snapshot: Optional[FixedReferenceNoResourceType] = None, progress: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, remote: Optional[FixedReferenceNoResourceType] = None, remote_snapshot: Optional[FixedReferenceNoResourceType] = None, started: Optional[StrictInt] = None, status: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FileSystemSnapshotTransfer
Create an instance of FileSystemSnapshotTransfer from a dict
- classmethod from_json(json_str: str) FileSystemSnapshotTransfer
Create an instance of FileSystemSnapshotTransfer from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileSystemSnapshotTransferResponse
- class pypureclient.flashblade.FileSystemSnapshotTransferResponse(*, items: Optional[ConstrainedListValue[FileSystemSnapshotTransfer]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FileSystemSnapshotTransferResponse
Create an instance of FileSystemSnapshotTransferResponse from a dict
- classmethod from_json(json_str: str) FileSystemSnapshotTransferResponse
Create an instance of FileSystemSnapshotTransferResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileSystemUserPerformance
- class pypureclient.flashblade.FileSystemUserPerformance(*, name: Optional[StrictStr] = None, bytes_per_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, bytes_per_read: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, bytes_per_write: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, file_system: Optional[FixedReference] = None, others_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, read_bytes_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, reads_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, time: Optional[StrictInt] = None, usec_per_other_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, usec_per_read_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, usec_per_write_op: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, user: Optional[User] = None, write_bytes_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, writes_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FileSystemUserPerformance
Create an instance of FileSystemUserPerformance from a dict
- classmethod from_json(json_str: str) FileSystemUserPerformance
Create an instance of FileSystemUserPerformance from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FileSystemUsersPerformanceGetResponse
- class pypureclient.flashblade.FileSystemUsersPerformanceGetResponse(*, items: Optional[ConstrainedListValue[FileSystemUserPerformance]] = None, total: Optional[ConstrainedListValue[FileSystemUserPerformance]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FileSystemUsersPerformanceGetResponse
Create an instance of FileSystemUsersPerformanceGetResponse from a dict
- classmethod from_json(json_str: str) FileSystemUsersPerformanceGetResponse
Create an instance of FileSystemUsersPerformanceGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FixedLocationReference
- class pypureclient.flashblade.FixedLocationReference(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, resource_type: Optional[StrictStr] = None, display_name: Optional[StrictStr] = None, is_local: Optional[StrictBool] = None, location: Optional[FixedReference] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FixedLocationReference
Create an instance of FixedLocationReference from a dict
- classmethod from_json(json_str: str) FixedLocationReference
Create an instance of FixedLocationReference from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FixedReference
- class pypureclient.flashblade.FixedReference(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, resource_type: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FixedReference
Create an instance of FixedReference from a dict
- classmethod from_json(json_str: str) FixedReference
Create an instance of FixedReference from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FixedReferenceNameOnly
- class pypureclient.flashblade.FixedReferenceNameOnly(*, name: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FixedReferenceNameOnly
Create an instance of FixedReferenceNameOnly from a dict
- classmethod from_json(json_str: str) FixedReferenceNameOnly
Create an instance of FixedReferenceNameOnly from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FixedReferenceNoId
- class pypureclient.flashblade.FixedReferenceNoId(*, name: Optional[StrictStr] = None, resource_type: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FixedReferenceNoId
Create an instance of FixedReferenceNoId from a dict
- classmethod from_json(json_str: str) FixedReferenceNoId
Create an instance of FixedReferenceNoId from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FixedReferenceNoResourceType
- class pypureclient.flashblade.FixedReferenceNoResourceType(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FixedReferenceNoResourceType
Create an instance of FixedReferenceNoResourceType from a dict
- classmethod from_json(json_str: str) FixedReferenceNoResourceType
Create an instance of FixedReferenceNoResourceType from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FixedReferenceWithIsLocal
- class pypureclient.flashblade.FixedReferenceWithIsLocal(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, resource_type: Optional[StrictStr] = None, is_local: Optional[StrictBool] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FixedReferenceWithIsLocal
Create an instance of FixedReferenceWithIsLocal from a dict
- classmethod from_json(json_str: str) FixedReferenceWithIsLocal
Create an instance of FixedReferenceWithIsLocal from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FixedReferenceWithRemote
- class pypureclient.flashblade.FixedReferenceWithRemote(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, resource_type: Optional[StrictStr] = None, remote: Optional[FixedReferenceNoResourceType] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FixedReferenceWithRemote
Create an instance of FixedReferenceWithRemote from a dict
- classmethod from_json(json_str: str) FixedReferenceWithRemote
Create an instance of FixedReferenceWithRemote from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FixedReferenceWithType
- class pypureclient.flashblade.FixedReferenceWithType(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, resource_type: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FixedReferenceWithType
Create an instance of FixedReferenceWithType from a dict
- classmethod from_json(json_str: str) FixedReferenceWithType
Create an instance of FixedReferenceWithType from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Fleet
- class pypureclient.flashblade.Fleet(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, is_local: Optional[StrictBool] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FleetGetResponse
- class pypureclient.flashblade.FleetGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[Fleet]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FleetGetResponse
Create an instance of FleetGetResponse from a dict
- classmethod from_json(json_str: str) FleetGetResponse
Create an instance of FleetGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FleetKey
- class pypureclient.flashblade.FleetKey(*, created: Optional[StrictInt] = None, expires: Optional[StrictInt] = None, fleet_key: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FleetKeyGetResponse
- class pypureclient.flashblade.FleetKeyGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[FleetKey]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FleetKeyGetResponse
Create an instance of FleetKeyGetResponse from a dict
- classmethod from_json(json_str: str) FleetKeyGetResponse
Create an instance of FleetKeyGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FleetKeyResponse
- class pypureclient.flashblade.FleetKeyResponse(*, items: Optional[ConstrainedListValue[FleetKey]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FleetKeyResponse
Create an instance of FleetKeyResponse from a dict
- classmethod from_json(json_str: str) FleetKeyResponse
Create an instance of FleetKeyResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FleetMember
- class pypureclient.flashblade.FleetMember(*, fleet: Optional[FixedReferenceWithIsLocal] = None, member: Optional[FixedReferenceWithIsLocal] = None, status: Optional[StrictStr] = None, status_details: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FleetMember
Create an instance of FleetMember from a dict
- classmethod from_json(json_str: str) FleetMember
Create an instance of FleetMember from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FleetMemberGetResponse
- class pypureclient.flashblade.FleetMemberGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[FleetMember]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FleetMemberGetResponse
Create an instance of FleetMemberGetResponse from a dict
- classmethod from_json(json_str: str) FleetMemberGetResponse
Create an instance of FleetMemberGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FleetMemberPost
- class pypureclient.flashblade.FleetMemberPost(*, members: Optional[ConstrainedListValue[FleetMemberPostMembers]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FleetMemberPost
Create an instance of FleetMemberPost from a dict
- classmethod from_json(json_str: str) FleetMemberPost
Create an instance of FleetMemberPost from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FleetMemberPostMembers
- class pypureclient.flashblade.FleetMemberPostMembers(*, key: Optional[StrictStr] = None, member: Optional[FleetMemberPostMembersMember] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FleetMemberPostMembers
Create an instance of FleetMemberPostMembers from a dict
- classmethod from_json(json_str: str) FleetMemberPostMembers
Create an instance of FleetMemberPostMembers from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FleetMemberPostMembersMember
- class pypureclient.flashblade.FleetMemberPostMembersMember(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, resource_type: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FleetMemberPostMembersMember
Create an instance of FleetMemberPostMembersMember from a dict
- classmethod from_json(json_str: str) FleetMemberPostMembersMember
Create an instance of FleetMemberPostMembersMember from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FleetMemberResponse
- class pypureclient.flashblade.FleetMemberResponse(*, items: Optional[ConstrainedListValue[FleetMember]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FleetMemberResponse
Create an instance of FleetMemberResponse from a dict
- classmethod from_json(json_str: str) FleetMemberResponse
Create an instance of FleetMemberResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FleetPatch
- class pypureclient.flashblade.FleetPatch(*, name: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FleetPatch
Create an instance of FleetPatch from a dict
- classmethod from_json(json_str: str) FleetPatch
Create an instance of FleetPatch from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
FleetResponse
- class pypureclient.flashblade.FleetResponse(*, items: Optional[ConstrainedListValue[Fleet]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) FleetResponse
Create an instance of FleetResponse from a dict
- classmethod from_json(json_str: str) FleetResponse
Create an instance of FleetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Group
- class pypureclient.flashblade.Group(*, id: Optional[StrictInt] = None, name: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
GroupQuota
- class pypureclient.flashblade.GroupQuota(*, name: Optional[StrictStr] = None, context: Optional[Reference] = None, file_system: Optional[FixedReference] = None, file_system_default_quota: Optional[StrictInt] = None, group: Optional[Group] = None, quota: Optional[StrictInt] = None, usage: Optional[StrictInt] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) GroupQuota
Create an instance of GroupQuota from a dict
- classmethod from_json(json_str: str) GroupQuota
Create an instance of GroupQuota from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
GroupQuotaGetResponse
- class pypureclient.flashblade.GroupQuotaGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[GroupQuota]] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) GroupQuotaGetResponse
Create an instance of GroupQuotaGetResponse from a dict
- classmethod from_json(json_str: str) GroupQuotaGetResponse
Create an instance of GroupQuotaGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
GroupQuotaPatch
- class pypureclient.flashblade.GroupQuotaPatch(*, name: Optional[StrictStr] = None, quota: StrictInt)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) GroupQuotaPatch
Create an instance of GroupQuotaPatch from a dict
- classmethod from_json(json_str: str) GroupQuotaPatch
Create an instance of GroupQuotaPatch from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
GroupQuotaPost
- class pypureclient.flashblade.GroupQuotaPost(*, name: Optional[StrictStr] = None, quota: StrictInt)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) GroupQuotaPost
Create an instance of GroupQuotaPost from a dict
- classmethod from_json(json_str: str) GroupQuotaPost
Create an instance of GroupQuotaPost from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
GroupQuotaResponse
- class pypureclient.flashblade.GroupQuotaResponse(*, items: Optional[ConstrainedListValue[GroupQuota]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) GroupQuotaResponse
Create an instance of GroupQuotaResponse from a dict
- classmethod from_json(json_str: str) GroupQuotaResponse
Create an instance of GroupQuotaResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Hardware
- class pypureclient.flashblade.Hardware(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, data_mac: Optional[StrictStr] = None, details: Optional[StrictStr] = None, identify_enabled: Optional[StrictBool] = None, index: Optional[StrictInt] = None, management_mac: Optional[StrictStr] = None, model: Optional[StrictStr] = None, part_number: Optional[StrictStr] = None, serial: Optional[StrictStr] = None, slot: Optional[StrictInt] = None, speed: Optional[StrictInt] = None, status: Optional[StrictStr] = None, temperature: Optional[StrictInt] = None, type: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
HardwareConnector
- class pypureclient.flashblade.HardwareConnector(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, connector_type: Optional[StrictStr] = None, lane_speed: Optional[StrictInt] = None, port_count: Optional[StrictInt] = None, port_speed: Optional[StrictInt] = None, transceiver_type: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) HardwareConnector
Create an instance of HardwareConnector from a dict
- classmethod from_json(json_str: str) HardwareConnector
Create an instance of HardwareConnector from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
HardwareConnectorGetResponse
- class pypureclient.flashblade.HardwareConnectorGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[HardwareConnector]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) HardwareConnectorGetResponse
Create an instance of HardwareConnectorGetResponse from a dict
- classmethod from_json(json_str: str) HardwareConnectorGetResponse
Create an instance of HardwareConnectorGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
HardwareConnectorPerformance
- class pypureclient.flashblade.HardwareConnectorPerformance(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, link_aggregation_group: Optional[FixedReference] = None, other_errors_per_sec: Optional[ConstrainedIntValue] = None, received_bytes_per_sec: Optional[ConstrainedIntValue] = None, received_crc_errors_per_sec: Optional[ConstrainedIntValue] = None, received_frame_errors_per_sec: Optional[ConstrainedIntValue] = None, received_packets_per_sec: Optional[ConstrainedIntValue] = None, time: Optional[StrictInt] = None, total_errors_per_sec: Optional[ConstrainedIntValue] = None, transmitted_bytes_per_sec: Optional[ConstrainedIntValue] = None, transmitted_carrier_errors_per_sec: Optional[ConstrainedIntValue] = None, transmitted_dropped_errors_per_sec: Optional[ConstrainedIntValue] = None, transmitted_packets_per_sec: Optional[ConstrainedIntValue] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) HardwareConnectorPerformance
Create an instance of HardwareConnectorPerformance from a dict
- classmethod from_json(json_str: str) HardwareConnectorPerformance
Create an instance of HardwareConnectorPerformance from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
HardwareConnectorPerformanceGetResponse
- class pypureclient.flashblade.HardwareConnectorPerformanceGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[HardwareConnectorPerformance]] = None, total: Optional[ConstrainedListValue[HardwareConnectorPerformance]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) HardwareConnectorPerformanceGetResponse
Create an instance of HardwareConnectorPerformanceGetResponse from a dict
- classmethod from_json(json_str: str) HardwareConnectorPerformanceGetResponse
Create an instance of HardwareConnectorPerformanceGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
HardwareConnectorResponse
- class pypureclient.flashblade.HardwareConnectorResponse(*, items: Optional[ConstrainedListValue[HardwareConnector]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) HardwareConnectorResponse
Create an instance of HardwareConnectorResponse from a dict
- classmethod from_json(json_str: str) HardwareConnectorResponse
Create an instance of HardwareConnectorResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
HardwareGetResponse
- class pypureclient.flashblade.HardwareGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[Hardware]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) HardwareGetResponse
Create an instance of HardwareGetResponse from a dict
- classmethod from_json(json_str: str) HardwareGetResponse
Create an instance of HardwareGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
HardwareResponse
- class pypureclient.flashblade.HardwareResponse(*, items: Optional[ConstrainedListValue[Hardware]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) HardwareResponse
Create an instance of HardwareResponse from a dict
- classmethod from_json(json_str: str) HardwareResponse
Create an instance of HardwareResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Http
- class pypureclient.flashblade.Http(*, enabled: Optional[StrictBool] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Index
- class pypureclient.flashblade.Index(*, index: Optional[StrictInt] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Keytab
- class pypureclient.flashblade.Keytab(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, encryption_type: Optional[StrictStr] = None, fqdn: Optional[StrictStr] = None, kvno: Optional[StrictInt] = None, prefix: Optional[StrictStr] = None, principal: Optional[StrictStr] = None, realm: Optional[StrictStr] = None, server: Optional[FixedReference] = None, source: Optional[FixedReference] = None, suffix: Optional[StrictInt] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
KeytabGetResponse
- class pypureclient.flashblade.KeytabGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[Keytab]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) KeytabGetResponse
Create an instance of KeytabGetResponse from a dict
- classmethod from_json(json_str: str) KeytabGetResponse
Create an instance of KeytabGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
KeytabPost
- class pypureclient.flashblade.KeytabPost(*, source: Optional[Reference] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) KeytabPost
Create an instance of KeytabPost from a dict
- classmethod from_json(json_str: str) KeytabPost
Create an instance of KeytabPost from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
KeytabResponse
- class pypureclient.flashblade.KeytabResponse(*, items: Optional[ConstrainedListValue[Keytab]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) KeytabResponse
Create an instance of KeytabResponse from a dict
- classmethod from_json(json_str: str) KeytabResponse
Create an instance of KeytabResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
KmipServer
- class pypureclient.flashblade.KmipServer(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, ca_certificate: Optional[Reference] = None, ca_certificate_group: Optional[Reference] = None, uris: Optional[ConstrainedListValue[ConstrainedStrValue]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) KmipServer
Create an instance of KmipServer from a dict
- classmethod from_json(json_str: str) KmipServer
Create an instance of KmipServer from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
KmipServerResponse
- class pypureclient.flashblade.KmipServerResponse(*, items: Optional[ConstrainedListValue[KmipServer]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) KmipServerResponse
Create an instance of KmipServerResponse from a dict
- classmethod from_json(json_str: str) KmipServerResponse
Create an instance of KmipServerResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
LegalHold
- class pypureclient.flashblade.LegalHold(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, description: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
LegalHoldHeldEntity
- class pypureclient.flashblade.LegalHoldHeldEntity(*, file_system: Optional[FixedReference] = None, legal_hold: Optional[FixedReference] = None, path: Optional[StrictStr] = None, status: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) LegalHoldHeldEntity
Create an instance of LegalHoldHeldEntity from a dict
- classmethod from_json(json_str: str) LegalHoldHeldEntity
Create an instance of LegalHoldHeldEntity from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
LegalHoldsGetResponse
- class pypureclient.flashblade.LegalHoldsGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[LegalHold]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) LegalHoldsGetResponse
Create an instance of LegalHoldsGetResponse from a dict
- classmethod from_json(json_str: str) LegalHoldsGetResponse
Create an instance of LegalHoldsGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
LegalHoldsHeldEntitiesGetResponse
- class pypureclient.flashblade.LegalHoldsHeldEntitiesGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[LegalHoldHeldEntity]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) LegalHoldsHeldEntitiesGetResponse
Create an instance of LegalHoldsHeldEntitiesGetResponse from a dict
- classmethod from_json(json_str: str) LegalHoldsHeldEntitiesGetResponse
Create an instance of LegalHoldsHeldEntitiesGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
LegalHoldsHeldEntitiesResponse
- class pypureclient.flashblade.LegalHoldsHeldEntitiesResponse(*, items: Optional[ConstrainedListValue[LegalHoldHeldEntity]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) LegalHoldsHeldEntitiesResponse
Create an instance of LegalHoldsHeldEntitiesResponse from a dict
- classmethod from_json(json_str: str) LegalHoldsHeldEntitiesResponse
Create an instance of LegalHoldsHeldEntitiesResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
LegalHoldsResponse
- class pypureclient.flashblade.LegalHoldsResponse(*, items: Optional[ConstrainedListValue[LegalHold]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) LegalHoldsResponse
Create an instance of LegalHoldsResponse from a dict
- classmethod from_json(json_str: str) LegalHoldsResponse
Create an instance of LegalHoldsResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
LifecycleRule
- class pypureclient.flashblade.LifecycleRule(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, context: Optional[Reference] = None, abort_incomplete_multipart_uploads_after: Optional[StrictInt] = None, keep_current_version_for: Optional[StrictInt] = None, keep_current_version_until: Optional[StrictInt] = None, bucket: Optional[FixedReference] = None, cleanup_expired_object_delete_marker: Optional[StrictBool] = None, enabled: Optional[StrictBool] = None, keep_previous_version_for: Optional[StrictInt] = None, prefix: Optional[StrictStr] = None, rule_id: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) LifecycleRule
Create an instance of LifecycleRule from a dict
- classmethod from_json(json_str: str) LifecycleRule
Create an instance of LifecycleRule from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
LifecycleRuleConfigExtension
- class pypureclient.flashblade.LifecycleRuleConfigExtension(*, abort_incomplete_multipart_uploads_after: Optional[StrictInt] = None, keep_current_version_for: Optional[StrictInt] = None, keep_current_version_until: Optional[StrictInt] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) LifecycleRuleConfigExtension
Create an instance of LifecycleRuleConfigExtension from a dict
- classmethod from_json(json_str: str) LifecycleRuleConfigExtension
Create an instance of LifecycleRuleConfigExtension from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
LifecycleRuleGetResponse
- class pypureclient.flashblade.LifecycleRuleGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None, items: Optional[ConstrainedListValue[LifecycleRule]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) LifecycleRuleGetResponse
Create an instance of LifecycleRuleGetResponse from a dict
- classmethod from_json(json_str: str) LifecycleRuleGetResponse
Create an instance of LifecycleRuleGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
LifecycleRulePatch
- class pypureclient.flashblade.LifecycleRulePatch(*, abort_incomplete_multipart_uploads_after: Optional[StrictInt] = None, keep_current_version_for: Optional[StrictInt] = None, keep_current_version_until: Optional[StrictInt] = None, enabled: Optional[StrictBool] = None, keep_previous_version_for: Optional[StrictInt] = None, prefix: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) LifecycleRulePatch
Create an instance of LifecycleRulePatch from a dict
- classmethod from_json(json_str: str) LifecycleRulePatch
Create an instance of LifecycleRulePatch from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
LifecycleRulePost
- class pypureclient.flashblade.LifecycleRulePost(*, abort_incomplete_multipart_uploads_after: Optional[StrictInt] = None, keep_current_version_for: Optional[StrictInt] = None, keep_current_version_until: Optional[StrictInt] = None, bucket: Optional[ReferenceWritable] = None, keep_previous_version_for: Optional[StrictInt] = None, prefix: Optional[StrictStr] = None, rule_id: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) LifecycleRulePost
Create an instance of LifecycleRulePost from a dict
- classmethod from_json(json_str: str) LifecycleRulePost
Create an instance of LifecycleRulePost from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
LifecycleRuleResponse
- class pypureclient.flashblade.LifecycleRuleResponse(*, items: Optional[ConstrainedListValue[LifecycleRule]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) LifecycleRuleResponse
Create an instance of LifecycleRuleResponse from a dict
- classmethod from_json(json_str: str) LifecycleRuleResponse
Create an instance of LifecycleRuleResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
LinkAggregationGroup
- class pypureclient.flashblade.LinkAggregationGroup(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, lag_speed: Optional[StrictInt] = None, mac_address: Optional[ConstrainedStrValue] = None, port_speed: Optional[StrictInt] = None, ports: Optional[ConstrainedListValue[FixedReference]] = None, status: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) LinkAggregationGroup
Create an instance of LinkAggregationGroup from a dict
- classmethod from_json(json_str: str) LinkAggregationGroup
Create an instance of LinkAggregationGroup from a JSON string
- classmethod mac_address_validate_regular_expression(value)
Validates the regular expression
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
LinkAggregationGroupGetResponse
- class pypureclient.flashblade.LinkAggregationGroupGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[LinkAggregationGroup]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) LinkAggregationGroupGetResponse
Create an instance of LinkAggregationGroupGetResponse from a dict
- classmethod from_json(json_str: str) LinkAggregationGroupGetResponse
Create an instance of LinkAggregationGroupGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
LinkAggregationGroupResponse
- class pypureclient.flashblade.LinkAggregationGroupResponse(*, items: Optional[ConstrainedListValue[LinkAggregationGroup]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) LinkAggregationGroupResponse
Create an instance of LinkAggregationGroupResponse from a dict
- classmethod from_json(json_str: str) LinkAggregationGroupResponse
Create an instance of LinkAggregationGroupResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
LocationReference
- class pypureclient.flashblade.LocationReference(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, resource_type: Optional[StrictStr] = None, display_name: Optional[StrictStr] = None, is_local: Optional[StrictBool] = None, location: Optional[Reference] = None)
Reference to a policy that is driving replication. # noqa: E501
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) LocationReference
Create an instance of LocationReference from a dict
- classmethod from_json(json_str: str) LocationReference
Create an instance of LocationReference from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Login
- class pypureclient.flashblade.Login(*, username: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
LogsAsync
- class pypureclient.flashblade.LogsAsync(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, available_files: Optional[ConstrainedListValue[FileInfo]] = None, end_time: Optional[ConstrainedIntValue] = None, hardware_components: Optional[ConstrainedListValue[FixedReference]] = None, last_request_time: Optional[ConstrainedIntValue] = None, processing: Optional[StrictBool] = None, progress: Optional[Union[StrictFloat, StrictInt]] = None, start_time: Optional[ConstrainedIntValue] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
LogsAsyncGetResponse
- class pypureclient.flashblade.LogsAsyncGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[LogsAsync]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) LogsAsyncGetResponse
Create an instance of LogsAsyncGetResponse from a dict
- classmethod from_json(json_str: str) LogsAsyncGetResponse
Create an instance of LogsAsyncGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
LogsAsyncResponse
- class pypureclient.flashblade.LogsAsyncResponse(*, items: Optional[ConstrainedListValue[LogsAsync]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) LogsAsyncResponse
Create an instance of LogsAsyncResponse from a dict
- classmethod from_json(json_str: str) LogsAsyncResponse
Create an instance of LogsAsyncResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
MaintenanceWindow
- class pypureclient.flashblade.MaintenanceWindow(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, created: Optional[StrictInt] = None, expires: Optional[StrictInt] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) MaintenanceWindow
Create an instance of MaintenanceWindow from a dict
- classmethod from_json(json_str: str) MaintenanceWindow
Create an instance of MaintenanceWindow from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
MaintenanceWindowPost
- class pypureclient.flashblade.MaintenanceWindowPost(*, timeout: Optional[StrictInt] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) MaintenanceWindowPost
Create an instance of MaintenanceWindowPost from a dict
- classmethod from_json(json_str: str) MaintenanceWindowPost
Create an instance of MaintenanceWindowPost from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
MaintenanceWindowsGetResponse
- class pypureclient.flashblade.MaintenanceWindowsGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[MaintenanceWindow]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) MaintenanceWindowsGetResponse
Create an instance of MaintenanceWindowsGetResponse from a dict
- classmethod from_json(json_str: str) MaintenanceWindowsGetResponse
Create an instance of MaintenanceWindowsGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
MaintenanceWindowsResponse
- class pypureclient.flashblade.MaintenanceWindowsResponse(*, items: Optional[ConstrainedListValue[MaintenanceWindow]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) MaintenanceWindowsResponse
Create an instance of MaintenanceWindowsResponse from a dict
- classmethod from_json(json_str: str) MaintenanceWindowsResponse
Create an instance of MaintenanceWindowsResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Member
- class pypureclient.flashblade.Member(*, group: Optional[Reference] = None, member: Optional[Reference] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
MemberLink
- class pypureclient.flashblade.MemberLink(*, local_file_system: Optional[FixedReference] = None, remote: Optional[FixedReferenceNoResourceType] = None, remote_file_system: Optional[FixedReferenceNoResourceType] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) MemberLink
Create an instance of MemberLink from a dict
- classmethod from_json(json_str: str) MemberLink
Create an instance of MemberLink from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
MultiProtocol
- class pypureclient.flashblade.MultiProtocol(*, access_control_style: Optional[StrictStr] = None, safeguard_acls: Optional[StrictBool] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) MultiProtocol
Create an instance of MultiProtocol from a dict
- classmethod from_json(json_str: str) MultiProtocol
Create an instance of MultiProtocol from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
MultiProtocolPost
- class pypureclient.flashblade.MultiProtocolPost(*, access_control_style: Optional[StrictStr] = None, safeguard_acls: Optional[StrictBool] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) MultiProtocolPost
Create an instance of MultiProtocolPost from a dict
- classmethod from_json(json_str: str) MultiProtocolPost
Create an instance of MultiProtocolPost from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
NetworkAccessPolicy
- class pypureclient.flashblade.NetworkAccessPolicy(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, enabled: Optional[StrictBool] = None, is_local: Optional[StrictBool] = None, location: Optional[FixedReference] = None, policy_type: Optional[StrictStr] = None, version: Optional[StrictStr] = None, rules: Optional[ConstrainedListValue[NetworkAccessPolicyRuleInPolicy]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) NetworkAccessPolicy
Create an instance of NetworkAccessPolicy from a dict
- classmethod from_json(json_str: str) NetworkAccessPolicy
Create an instance of NetworkAccessPolicy from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
NetworkAccessPolicyGetResponse
- class pypureclient.flashblade.NetworkAccessPolicyGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[NetworkAccessPolicy]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) NetworkAccessPolicyGetResponse
Create an instance of NetworkAccessPolicyGetResponse from a dict
- classmethod from_json(json_str: str) NetworkAccessPolicyGetResponse
Create an instance of NetworkAccessPolicyGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
NetworkAccessPolicyResponse
- class pypureclient.flashblade.NetworkAccessPolicyResponse(*, items: Optional[ConstrainedListValue[NetworkAccessPolicy]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) NetworkAccessPolicyResponse
Create an instance of NetworkAccessPolicyResponse from a dict
- classmethod from_json(json_str: str) NetworkAccessPolicyResponse
Create an instance of NetworkAccessPolicyResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
NetworkAccessPolicyRule
- class pypureclient.flashblade.NetworkAccessPolicyRule(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, client: Optional[StrictStr] = None, effect: Optional[StrictStr] = None, interfaces: Optional[ConstrainedListValue[StrictStr]] = None, policy: Optional[FixedReference] = None, policy_version: Optional[StrictStr] = None, index: Optional[StrictInt] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) NetworkAccessPolicyRule
Create an instance of NetworkAccessPolicyRule from a dict
- classmethod from_json(json_str: str) NetworkAccessPolicyRule
Create an instance of NetworkAccessPolicyRule from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
NetworkAccessPolicyRuleBase
- class pypureclient.flashblade.NetworkAccessPolicyRuleBase(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, client: Optional[StrictStr] = None, effect: Optional[StrictStr] = None, interfaces: Optional[ConstrainedListValue[StrictStr]] = None, policy: Optional[FixedReference] = None, policy_version: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) NetworkAccessPolicyRuleBase
Create an instance of NetworkAccessPolicyRuleBase from a dict
- classmethod from_json(json_str: str) NetworkAccessPolicyRuleBase
Create an instance of NetworkAccessPolicyRuleBase from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
NetworkAccessPolicyRuleGetResponse
- class pypureclient.flashblade.NetworkAccessPolicyRuleGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[NetworkAccessPolicyRule]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) NetworkAccessPolicyRuleGetResponse
Create an instance of NetworkAccessPolicyRuleGetResponse from a dict
- classmethod from_json(json_str: str) NetworkAccessPolicyRuleGetResponse
Create an instance of NetworkAccessPolicyRuleGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
NetworkAccessPolicyRuleInPolicy
- class pypureclient.flashblade.NetworkAccessPolicyRuleInPolicy(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, client: Optional[StrictStr] = None, effect: Optional[StrictStr] = None, interfaces: Optional[ConstrainedListValue[StrictStr]] = None, policy: Optional[FixedReference] = None, policy_version: Optional[StrictStr] = None, index: Optional[StrictInt] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) NetworkAccessPolicyRuleInPolicy
Create an instance of NetworkAccessPolicyRuleInPolicy from a dict
- classmethod from_json(json_str: str) NetworkAccessPolicyRuleInPolicy
Create an instance of NetworkAccessPolicyRuleInPolicy from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
NetworkAccessPolicyRulePost
- class pypureclient.flashblade.NetworkAccessPolicyRulePost(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, client: Optional[StrictStr] = None, effect: Optional[StrictStr] = None, interfaces: Optional[ConstrainedListValue[StrictStr]] = None, index: Optional[StrictInt] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) NetworkAccessPolicyRulePost
Create an instance of NetworkAccessPolicyRulePost from a dict
- classmethod from_json(json_str: str) NetworkAccessPolicyRulePost
Create an instance of NetworkAccessPolicyRulePost from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
NetworkAccessPolicyRulePostBase
- class pypureclient.flashblade.NetworkAccessPolicyRulePostBase(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, client: Optional[StrictStr] = None, effect: Optional[StrictStr] = None, interfaces: Optional[ConstrainedListValue[StrictStr]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) NetworkAccessPolicyRulePostBase
Create an instance of NetworkAccessPolicyRulePostBase from a dict
- classmethod from_json(json_str: str) NetworkAccessPolicyRulePostBase
Create an instance of NetworkAccessPolicyRulePostBase from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
NetworkAccessPolicyRuleResponse
- class pypureclient.flashblade.NetworkAccessPolicyRuleResponse(*, items: Optional[ConstrainedListValue[NetworkAccessPolicyRule]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) NetworkAccessPolicyRuleResponse
Create an instance of NetworkAccessPolicyRuleResponse from a dict
- classmethod from_json(json_str: str) NetworkAccessPolicyRuleResponse
Create an instance of NetworkAccessPolicyRuleResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
NetworkInterface
- class pypureclient.flashblade.NetworkInterface(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, address: Optional[StrictStr] = None, enabled: Optional[StrictBool] = None, gateway: Optional[StrictStr] = None, mtu: Optional[StrictInt] = None, netmask: Optional[StrictStr] = None, server: Optional[Reference] = None, services: Optional[ConstrainedListValue[StrictStr]] = None, subnet: Optional[Dict[str, Any]] = None, type: Optional[StrictStr] = None, vlan: Optional[StrictInt] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) NetworkInterface
Create an instance of NetworkInterface from a dict
- classmethod from_json(json_str: str) NetworkInterface
Create an instance of NetworkInterface from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
NetworkInterfaceGetResponse
- class pypureclient.flashblade.NetworkInterfaceGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[NetworkInterface]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) NetworkInterfaceGetResponse
Create an instance of NetworkInterfaceGetResponse from a dict
- classmethod from_json(json_str: str) NetworkInterfaceGetResponse
Create an instance of NetworkInterfaceGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
NetworkInterfacePatch
- class pypureclient.flashblade.NetworkInterfacePatch(*, address: Optional[StrictStr] = None, server: Optional[Reference] = None, services: Optional[ConstrainedListValue[StrictStr]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) NetworkInterfacePatch
Create an instance of NetworkInterfacePatch from a dict
- classmethod from_json(json_str: str) NetworkInterfacePatch
Create an instance of NetworkInterfacePatch from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
NetworkInterfacePing
- class pypureclient.flashblade.NetworkInterfacePing(*, component_name: Optional[StrictStr] = None, destination: Optional[StrictStr] = None, details: Optional[StrictStr] = None, source: Optional[StrictStr] = None)
Output from running the linux command ‘ping’ directly on the array with start and end location information. # noqa: E501
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) NetworkInterfacePing
Create an instance of NetworkInterfacePing from a dict
- classmethod from_json(json_str: str) NetworkInterfacePing
Create an instance of NetworkInterfacePing from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
NetworkInterfacePingGetResponse
- class pypureclient.flashblade.NetworkInterfacePingGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[NetworkInterfacePing]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) NetworkInterfacePingGetResponse
Create an instance of NetworkInterfacePingGetResponse from a dict
- classmethod from_json(json_str: str) NetworkInterfacePingGetResponse
Create an instance of NetworkInterfacePingGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
NetworkInterfacePingResponse
- class pypureclient.flashblade.NetworkInterfacePingResponse(*, items: Optional[ConstrainedListValue[NetworkInterfacePing]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) NetworkInterfacePingResponse
Create an instance of NetworkInterfacePingResponse from a dict
- classmethod from_json(json_str: str) NetworkInterfacePingResponse
Create an instance of NetworkInterfacePingResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
NetworkInterfaceResponse
- class pypureclient.flashblade.NetworkInterfaceResponse(*, items: Optional[ConstrainedListValue[NetworkInterface]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) NetworkInterfaceResponse
Create an instance of NetworkInterfaceResponse from a dict
- classmethod from_json(json_str: str) NetworkInterfaceResponse
Create an instance of NetworkInterfaceResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
NetworkInterfaceTrace
- class pypureclient.flashblade.NetworkInterfaceTrace(*, component_name: Optional[StrictStr] = None, destination: Optional[StrictStr] = None, details: Optional[StrictStr] = None, source: Optional[StrictStr] = None)
Output from running the linux command ‘traceroute’ directly on the array with start and end location information. # noqa: E501
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) NetworkInterfaceTrace
Create an instance of NetworkInterfaceTrace from a dict
- classmethod from_json(json_str: str) NetworkInterfaceTrace
Create an instance of NetworkInterfaceTrace from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
NetworkInterfaceTraceGetResponse
- class pypureclient.flashblade.NetworkInterfaceTraceGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[NetworkInterfaceTrace]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) NetworkInterfaceTraceGetResponse
Create an instance of NetworkInterfaceTraceGetResponse from a dict
- classmethod from_json(json_str: str) NetworkInterfaceTraceGetResponse
Create an instance of NetworkInterfaceTraceGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
NetworkInterfaceTraceResponse
- class pypureclient.flashblade.NetworkInterfaceTraceResponse(*, items: Optional[ConstrainedListValue[NetworkInterfaceTrace]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) NetworkInterfaceTraceResponse
Create an instance of NetworkInterfaceTraceResponse from a dict
- classmethod from_json(json_str: str) NetworkInterfaceTraceResponse
Create an instance of NetworkInterfaceTraceResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
NetworkInterfacesConnectorsGetResponse
- class pypureclient.flashblade.NetworkInterfacesConnectorsGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[HardwareConnector]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) NetworkInterfacesConnectorsGetResponse
Create an instance of NetworkInterfacesConnectorsGetResponse from a dict
- classmethod from_json(json_str: str) NetworkInterfacesConnectorsGetResponse
Create an instance of NetworkInterfacesConnectorsGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
NetworkInterfacesConnectorsPerformance
- class pypureclient.flashblade.NetworkInterfacesConnectorsPerformance(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, link_aggregation_group: Optional[FixedReference] = None, other_errors_per_sec: Optional[ConstrainedIntValue] = None, received_bytes_per_sec: Optional[ConstrainedIntValue] = None, received_crc_errors_per_sec: Optional[ConstrainedIntValue] = None, received_frame_errors_per_sec: Optional[ConstrainedIntValue] = None, received_packets_per_sec: Optional[ConstrainedIntValue] = None, time: Optional[StrictInt] = None, total_errors_per_sec: Optional[ConstrainedIntValue] = None, transmitted_bytes_per_sec: Optional[ConstrainedIntValue] = None, transmitted_carrier_errors_per_sec: Optional[ConstrainedIntValue] = None, transmitted_dropped_errors_per_sec: Optional[ConstrainedIntValue] = None, transmitted_packets_per_sec: Optional[ConstrainedIntValue] = None, flow_control_received_congestion_packets_per_sec: Optional[ConstrainedIntValue] = None, flow_control_received_discarded_packets_per_sec: Optional[ConstrainedIntValue] = None, flow_control_received_lossless_bytes_per_sec: Optional[ConstrainedIntValue] = None, flow_control_received_pause_frames_per_sec: Optional[ConstrainedIntValue] = None, flow_control_transmitted_congestion_packets_per_sec: Optional[ConstrainedIntValue] = None, flow_control_transmitted_discarded_packets_per_sec: Optional[ConstrainedIntValue] = None, flow_control_transmitted_lossless_bytes_per_sec: Optional[ConstrainedIntValue] = None, flow_control_transmitted_pause_frames_per_sec: Optional[ConstrainedIntValue] = None, rdma_received_req_cqe_errors_per_sec: Optional[ConstrainedIntValue] = None, rdma_received_sequence_errors_per_sec: Optional[ConstrainedIntValue] = None, rdma_transmitted_local_ack_timeout_errors_per_sec: Optional[ConstrainedIntValue] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) NetworkInterfacesConnectorsPerformance
Create an instance of NetworkInterfacesConnectorsPerformance from a dict
- classmethod from_json(json_str: str) NetworkInterfacesConnectorsPerformance
Create an instance of NetworkInterfacesConnectorsPerformance from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
NetworkInterfacesConnectorsPerformanceGetResponse
- class pypureclient.flashblade.NetworkInterfacesConnectorsPerformanceGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[NetworkInterfacesConnectorsPerformance]] = None, total: Optional[ConstrainedListValue[NetworkInterfacesConnectorsPerformance]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) NetworkInterfacesConnectorsPerformanceGetResponse
Create an instance of NetworkInterfacesConnectorsPerformanceGetResponse from a dict
- classmethod from_json(json_str: str) NetworkInterfacesConnectorsPerformanceGetResponse
Create an instance of NetworkInterfacesConnectorsPerformanceGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
NetworkInterfacesConnectorsResponse
- class pypureclient.flashblade.NetworkInterfacesConnectorsResponse(*, items: Optional[ConstrainedListValue[HardwareConnector]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) NetworkInterfacesConnectorsResponse
Create an instance of NetworkInterfacesConnectorsResponse from a dict
- classmethod from_json(json_str: str) NetworkInterfacesConnectorsResponse
Create an instance of NetworkInterfacesConnectorsResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
NetworkInterfacesConnectorsSetting
- class pypureclient.flashblade.NetworkInterfacesConnectorsSetting(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, roce: Optional[NetworkInterfacesConnectorsSettingRoce] = None)
The global network setting for all network connectors. # noqa: E501
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) NetworkInterfacesConnectorsSetting
Create an instance of NetworkInterfacesConnectorsSetting from a dict
- classmethod from_json(json_str: str) NetworkInterfacesConnectorsSetting
Create an instance of NetworkInterfacesConnectorsSetting from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
NetworkInterfacesConnectorsSettingRoce
- class pypureclient.flashblade.NetworkInterfacesConnectorsSettingRoce(*, default_ecn: Optional[NetworkInterfacesConnectorsSettingRoceEcn] = None, default_pfc: Optional[NetworkInterfacesConnectorsSettingRocePfc] = None, enabled: Optional[StrictBool] = None, network_congestion_mode: Optional[StrictStr] = None, trust_mode: Optional[StrictStr] = None)
RoCE(RDMA over Converged Ethernet) configuration for network connectors. # noqa: E501
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) NetworkInterfacesConnectorsSettingRoce
Create an instance of NetworkInterfacesConnectorsSettingRoce from a dict
- classmethod from_json(json_str: str) NetworkInterfacesConnectorsSettingRoce
Create an instance of NetworkInterfacesConnectorsSettingRoce from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
NetworkInterfacesConnectorsSettingRoceEcn
- class pypureclient.flashblade.NetworkInterfacesConnectorsSettingRoceEcn(*, marking_probability: Optional[Union[StrictFloat, StrictInt]] = None, max_ecn_marked_threshold: Optional[StrictInt] = None, min_ecn_marked_threshold: Optional[StrictInt] = None)
Default ECN(Explicit Network Notification) configuration for network connectors. # noqa: E501
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) NetworkInterfacesConnectorsSettingRoceEcn
Create an instance of NetworkInterfacesConnectorsSettingRoceEcn from a dict
- classmethod from_json(json_str: str) NetworkInterfacesConnectorsSettingRoceEcn
Create an instance of NetworkInterfacesConnectorsSettingRoceEcn from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
NetworkInterfacesConnectorsSettingRocePfc
- class pypureclient.flashblade.NetworkInterfacesConnectorsSettingRocePfc(*, port_buffer: Optional[StrictInt] = None, xoff_threshold: Optional[StrictInt] = None, xon_threshold: Optional[StrictInt] = None)
Default PFC(Priority Flow Control) configuration for network connectors. # noqa: E501
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) NetworkInterfacesConnectorsSettingRocePfc
Create an instance of NetworkInterfacesConnectorsSettingRocePfc from a dict
- classmethod from_json(json_str: str) NetworkInterfacesConnectorsSettingRocePfc
Create an instance of NetworkInterfacesConnectorsSettingRocePfc from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
NetworkInterfacesConnectorsSettingsGetResponse
- class pypureclient.flashblade.NetworkInterfacesConnectorsSettingsGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[NetworkInterfacesConnectorsSetting]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) NetworkInterfacesConnectorsSettingsGetResponse
Create an instance of NetworkInterfacesConnectorsSettingsGetResponse from a dict
- classmethod from_json(json_str: str) NetworkInterfacesConnectorsSettingsGetResponse
Create an instance of NetworkInterfacesConnectorsSettingsGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Nfs
- class pypureclient.flashblade.Nfs(*, export_policy: Optional[ReferenceWritable] = None, rules: Optional[StrictStr] = None, v3_enabled: Optional[StrictBool] = None, v4_1_enabled: Optional[StrictBool] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
NfsExportPolicy
- class pypureclient.flashblade.NfsExportPolicy(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, enabled: Optional[StrictBool] = None, is_local: Optional[StrictBool] = None, location: Optional[FixedReference] = None, policy_type: Optional[StrictStr] = None, version: Optional[StrictStr] = None, context: Optional[Reference] = None, rules: Optional[ConstrainedListValue[NfsExportPolicyRuleInPolicy]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) NfsExportPolicy
Create an instance of NfsExportPolicy from a dict
- classmethod from_json(json_str: str) NfsExportPolicy
Create an instance of NfsExportPolicy from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
NfsExportPolicyGetResponse
- class pypureclient.flashblade.NfsExportPolicyGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[NfsExportPolicy]] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) NfsExportPolicyGetResponse
Create an instance of NfsExportPolicyGetResponse from a dict
- classmethod from_json(json_str: str) NfsExportPolicyGetResponse
Create an instance of NfsExportPolicyGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
NfsExportPolicyPost
- class pypureclient.flashblade.NfsExportPolicyPost(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, enabled: Optional[StrictBool] = None, is_local: Optional[StrictBool] = None, location: Optional[FixedReference] = None, policy_type: Optional[StrictStr] = None, rules: Optional[ConstrainedListValue[NfsExportPolicyRuleInPolicy]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) NfsExportPolicyPost
Create an instance of NfsExportPolicyPost from a dict
- classmethod from_json(json_str: str) NfsExportPolicyPost
Create an instance of NfsExportPolicyPost from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
NfsExportPolicyResponse
- class pypureclient.flashblade.NfsExportPolicyResponse(*, items: Optional[ConstrainedListValue[NfsExportPolicy]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) NfsExportPolicyResponse
Create an instance of NfsExportPolicyResponse from a dict
- classmethod from_json(json_str: str) NfsExportPolicyResponse
Create an instance of NfsExportPolicyResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
NfsExportPolicyRule
- class pypureclient.flashblade.NfsExportPolicyRule(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, access: Optional[StrictStr] = None, anongid: Optional[StrictStr] = None, anonuid: Optional[StrictStr] = None, atime: Optional[StrictBool] = None, client: Optional[StrictStr] = None, fileid_32bit: Optional[StrictBool] = None, permission: Optional[StrictStr] = None, policy: Optional[FixedReference] = None, policy_version: Optional[StrictStr] = None, secure: Optional[StrictBool] = None, security: Optional[ConstrainedListValue[StrictStr]] = None, index: Optional[StrictInt] = None, context: Optional[Reference] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) NfsExportPolicyRule
Create an instance of NfsExportPolicyRule from a dict
- classmethod from_json(json_str: str) NfsExportPolicyRule
Create an instance of NfsExportPolicyRule from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
NfsExportPolicyRuleBase
- class pypureclient.flashblade.NfsExportPolicyRuleBase(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, access: Optional[StrictStr] = None, anongid: Optional[StrictStr] = None, anonuid: Optional[StrictStr] = None, atime: Optional[StrictBool] = None, client: Optional[StrictStr] = None, fileid_32bit: Optional[StrictBool] = None, permission: Optional[StrictStr] = None, policy: Optional[FixedReference] = None, policy_version: Optional[StrictStr] = None, secure: Optional[StrictBool] = None, security: Optional[ConstrainedListValue[StrictStr]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) NfsExportPolicyRuleBase
Create an instance of NfsExportPolicyRuleBase from a dict
- classmethod from_json(json_str: str) NfsExportPolicyRuleBase
Create an instance of NfsExportPolicyRuleBase from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
NfsExportPolicyRuleGetResponse
- class pypureclient.flashblade.NfsExportPolicyRuleGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[NfsExportPolicyRule]] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) NfsExportPolicyRuleGetResponse
Create an instance of NfsExportPolicyRuleGetResponse from a dict
- classmethod from_json(json_str: str) NfsExportPolicyRuleGetResponse
Create an instance of NfsExportPolicyRuleGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
NfsExportPolicyRuleInPolicy
- class pypureclient.flashblade.NfsExportPolicyRuleInPolicy(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, access: Optional[StrictStr] = None, anongid: Optional[StrictStr] = None, anonuid: Optional[StrictStr] = None, atime: Optional[StrictBool] = None, client: Optional[StrictStr] = None, fileid_32bit: Optional[StrictBool] = None, permission: Optional[StrictStr] = None, policy: Optional[FixedReference] = None, policy_version: Optional[StrictStr] = None, secure: Optional[StrictBool] = None, security: Optional[ConstrainedListValue[StrictStr]] = None, index: Optional[StrictInt] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) NfsExportPolicyRuleInPolicy
Create an instance of NfsExportPolicyRuleInPolicy from a dict
- classmethod from_json(json_str: str) NfsExportPolicyRuleInPolicy
Create an instance of NfsExportPolicyRuleInPolicy from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
NfsExportPolicyRuleResponse
- class pypureclient.flashblade.NfsExportPolicyRuleResponse(*, items: Optional[ConstrainedListValue[NfsExportPolicyRule]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) NfsExportPolicyRuleResponse
Create an instance of NfsExportPolicyRuleResponse from a dict
- classmethod from_json(json_str: str) NfsExportPolicyRuleResponse
Create an instance of NfsExportPolicyRuleResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
NfsPatch
- class pypureclient.flashblade.NfsPatch(*, export_policy: Optional[ReferenceWritable] = None, rules: Optional[StrictStr] = None, v3_enabled: Optional[StrictBool] = None, v4_1_enabled: Optional[StrictBool] = None, add_rules: Optional[StrictStr] = None, after: Optional[StrictStr] = None, remove_rules: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Oauth210TokenPost400Response
- class pypureclient.flashblade.Oauth210TokenPost400Response(*, error: Optional[StrictStr] = None, error_description: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) Oauth210TokenPost400Response
Create an instance of Oauth210TokenPost400Response from a dict
- classmethod from_json(json_str: str) Oauth210TokenPost400Response
Create an instance of Oauth210TokenPost400Response from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Oauth210TokenPost401Response
- class pypureclient.flashblade.Oauth210TokenPost401Response(*, error: Optional[StrictStr] = None, error_description: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) Oauth210TokenPost401Response
Create an instance of Oauth210TokenPost401Response from a dict
- classmethod from_json(json_str: str) Oauth210TokenPost401Response
Create an instance of Oauth210TokenPost401Response from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
OauthTokenResponse
- class pypureclient.flashblade.OauthTokenResponse(*, access_token: Optional[StrictStr] = None, expires_in: Optional[StrictInt] = None, issued_token_type: Optional[StrictStr] = None, token_type: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) OauthTokenResponse
Create an instance of OauthTokenResponse from a dict
- classmethod from_json(json_str: str) OauthTokenResponse
Create an instance of OauthTokenResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectBacklog
- class pypureclient.flashblade.ObjectBacklog(*, bytes_count: Optional[StrictInt] = None, delete_ops_count: Optional[StrictInt] = None, other_ops_count: Optional[StrictInt] = None, put_ops_count: Optional[StrictInt] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectBacklog
Create an instance of ObjectBacklog from a dict
- classmethod from_json(json_str: str) ObjectBacklog
Create an instance of ObjectBacklog from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectLockConfigBase
- class pypureclient.flashblade.ObjectLockConfigBase(*, default_retention_mode: Optional[StrictStr] = None, enabled: Optional[StrictBool] = None, freeze_locked_objects: Optional[StrictBool] = None)
Configuration settings related to object lock. # noqa: E501
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectLockConfigBase
Create an instance of ObjectLockConfigBase from a dict
- classmethod from_json(json_str: str) ObjectLockConfigBase
Create an instance of ObjectLockConfigBase from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectLockConfigRequestBody
- class pypureclient.flashblade.ObjectLockConfigRequestBody(*, default_retention_mode: Optional[StrictStr] = None, enabled: Optional[StrictBool] = None, freeze_locked_objects: Optional[StrictBool] = None, default_retention: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectLockConfigRequestBody
Create an instance of ObjectLockConfigRequestBody from a dict
- classmethod from_json(json_str: str) ObjectLockConfigRequestBody
Create an instance of ObjectLockConfigRequestBody from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectLockConfigResponse
- class pypureclient.flashblade.ObjectLockConfigResponse(*, default_retention_mode: Optional[StrictStr] = None, enabled: Optional[StrictBool] = None, freeze_locked_objects: Optional[StrictBool] = None, default_retention: Optional[StrictInt] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectLockConfigResponse
Create an instance of ObjectLockConfigResponse from a dict
- classmethod from_json(json_str: str) ObjectLockConfigResponse
Create an instance of ObjectLockConfigResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectStoreAccessKey
- class pypureclient.flashblade.ObjectStoreAccessKey(*, name: Optional[StrictStr] = None, context: Optional[Reference] = None, created: Optional[StrictInt] = None, enabled: Optional[StrictBool] = None, secret_access_key: Optional[StrictStr] = None, user: Optional[FixedReference] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectStoreAccessKey
Create an instance of ObjectStoreAccessKey from a dict
- classmethod from_json(json_str: str) ObjectStoreAccessKey
Create an instance of ObjectStoreAccessKey from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectStoreAccessKeyGetResponse
- class pypureclient.flashblade.ObjectStoreAccessKeyGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None, items: Optional[ConstrainedListValue[ObjectStoreAccessKey]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectStoreAccessKeyGetResponse
Create an instance of ObjectStoreAccessKeyGetResponse from a dict
- classmethod from_json(json_str: str) ObjectStoreAccessKeyGetResponse
Create an instance of ObjectStoreAccessKeyGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectStoreAccessKeyPost
- class pypureclient.flashblade.ObjectStoreAccessKeyPost(*, secret_access_key: Optional[StrictStr] = None, user: Optional[ObjectStoreAccessKeyPostUser] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectStoreAccessKeyPost
Create an instance of ObjectStoreAccessKeyPost from a dict
- classmethod from_json(json_str: str) ObjectStoreAccessKeyPost
Create an instance of ObjectStoreAccessKeyPost from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectStoreAccessKeyPostUser
- class pypureclient.flashblade.ObjectStoreAccessKeyPostUser(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, resource_type: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectStoreAccessKeyPostUser
Create an instance of ObjectStoreAccessKeyPostUser from a dict
- classmethod from_json(json_str: str) ObjectStoreAccessKeyPostUser
Create an instance of ObjectStoreAccessKeyPostUser from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectStoreAccessKeyResponse
- class pypureclient.flashblade.ObjectStoreAccessKeyResponse(*, items: Optional[ConstrainedListValue[ObjectStoreAccessKey]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectStoreAccessKeyResponse
Create an instance of ObjectStoreAccessKeyResponse from a dict
- classmethod from_json(json_str: str) ObjectStoreAccessKeyResponse
Create an instance of ObjectStoreAccessKeyResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectStoreAccessPolicy
- class pypureclient.flashblade.ObjectStoreAccessPolicy(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, enabled: Optional[StrictBool] = None, is_local: Optional[StrictBool] = None, location: Optional[FixedReference] = None, policy_type: Optional[StrictStr] = None, context: Optional[Reference] = None, account: Optional[FixedReference] = None, arn: Optional[StrictStr] = None, created: Optional[StrictInt] = None, description: Optional[StrictStr] = None, rules: Optional[ConstrainedListValue[PolicyRuleObjectAccess]] = None, updated: Optional[StrictInt] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectStoreAccessPolicy
Create an instance of ObjectStoreAccessPolicy from a dict
- classmethod from_json(json_str: str) ObjectStoreAccessPolicy
Create an instance of ObjectStoreAccessPolicy from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectStoreAccessPolicyAction
- class pypureclient.flashblade.ObjectStoreAccessPolicyAction(*, name: Optional[StrictStr] = None, context: Optional[Reference] = None, description: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectStoreAccessPolicyAction
Create an instance of ObjectStoreAccessPolicyAction from a dict
- classmethod from_json(json_str: str) ObjectStoreAccessPolicyAction
Create an instance of ObjectStoreAccessPolicyAction from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectStoreAccessPolicyActionGetResponse
- class pypureclient.flashblade.ObjectStoreAccessPolicyActionGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None, items: Optional[ConstrainedListValue[ObjectStoreAccessPolicyAction]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectStoreAccessPolicyActionGetResponse
Create an instance of ObjectStoreAccessPolicyActionGetResponse from a dict
- classmethod from_json(json_str: str) ObjectStoreAccessPolicyActionGetResponse
Create an instance of ObjectStoreAccessPolicyActionGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectStoreAccessPolicyActionResponse
- class pypureclient.flashblade.ObjectStoreAccessPolicyActionResponse(*, items: Optional[ConstrainedListValue[ObjectStoreAccessPolicyAction]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectStoreAccessPolicyActionResponse
Create an instance of ObjectStoreAccessPolicyActionResponse from a dict
- classmethod from_json(json_str: str) ObjectStoreAccessPolicyActionResponse
Create an instance of ObjectStoreAccessPolicyActionResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectStoreAccessPolicyGetResponse
- class pypureclient.flashblade.ObjectStoreAccessPolicyGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None, items: Optional[ConstrainedListValue[ObjectStoreAccessPolicy]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectStoreAccessPolicyGetResponse
Create an instance of ObjectStoreAccessPolicyGetResponse from a dict
- classmethod from_json(json_str: str) ObjectStoreAccessPolicyGetResponse
Create an instance of ObjectStoreAccessPolicyGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectStoreAccessPolicyPatch
- class pypureclient.flashblade.ObjectStoreAccessPolicyPatch(*, rules: Optional[ConstrainedListValue[PolicyRuleObjectAccessBulkManage]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectStoreAccessPolicyPatch
Create an instance of ObjectStoreAccessPolicyPatch from a dict
- classmethod from_json(json_str: str) ObjectStoreAccessPolicyPatch
Create an instance of ObjectStoreAccessPolicyPatch from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectStoreAccessPolicyPost
- class pypureclient.flashblade.ObjectStoreAccessPolicyPost(*, rules: Optional[ConstrainedListValue[PolicyRuleObjectAccessBulkManage]] = None, description: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectStoreAccessPolicyPost
Create an instance of ObjectStoreAccessPolicyPost from a dict
- classmethod from_json(json_str: str) ObjectStoreAccessPolicyPost
Create an instance of ObjectStoreAccessPolicyPost from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectStoreAccessPolicyResponse
- class pypureclient.flashblade.ObjectStoreAccessPolicyResponse(*, items: Optional[ConstrainedListValue[ObjectStoreAccessPolicy]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectStoreAccessPolicyResponse
Create an instance of ObjectStoreAccessPolicyResponse from a dict
- classmethod from_json(json_str: str) ObjectStoreAccessPolicyResponse
Create an instance of ObjectStoreAccessPolicyResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectStoreAccessPolicyRuleGetResponse
- class pypureclient.flashblade.ObjectStoreAccessPolicyRuleGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None, items: Optional[ConstrainedListValue[PolicyRuleObjectAccess]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectStoreAccessPolicyRuleGetResponse
Create an instance of ObjectStoreAccessPolicyRuleGetResponse from a dict
- classmethod from_json(json_str: str) ObjectStoreAccessPolicyRuleGetResponse
Create an instance of ObjectStoreAccessPolicyRuleGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectStoreAccessPolicyRuleResponse
- class pypureclient.flashblade.ObjectStoreAccessPolicyRuleResponse(*, items: Optional[ConstrainedListValue[PolicyRuleObjectAccess]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectStoreAccessPolicyRuleResponse
Create an instance of ObjectStoreAccessPolicyRuleResponse from a dict
- classmethod from_json(json_str: str) ObjectStoreAccessPolicyRuleResponse
Create an instance of ObjectStoreAccessPolicyRuleResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectStoreAccount
- class pypureclient.flashblade.ObjectStoreAccount(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, context: Optional[Reference] = None, bucket_defaults: Optional[BucketDefaultsReadonly] = None, created: Optional[StrictInt] = None, hard_limit_enabled: Optional[StrictBool] = None, object_count: Optional[StrictInt] = None, public_access_config: Optional[PublicAccessConfig] = None, quota_limit: Optional[StrictInt] = None, space: Optional[Space] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectStoreAccount
Create an instance of ObjectStoreAccount from a dict
- classmethod from_json(json_str: str) ObjectStoreAccount
Create an instance of ObjectStoreAccount from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectStoreAccountGetResponse
- class pypureclient.flashblade.ObjectStoreAccountGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None, items: Optional[ConstrainedListValue[ObjectStoreAccount]] = None, total: Optional[ObjectStoreAccount] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectStoreAccountGetResponse
Create an instance of ObjectStoreAccountGetResponse from a dict
- classmethod from_json(json_str: str) ObjectStoreAccountGetResponse
Create an instance of ObjectStoreAccountGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectStoreAccountPatch
- class pypureclient.flashblade.ObjectStoreAccountPatch(*, bucket_defaults: Optional[BucketDefaults] = None, hard_limit_enabled: Optional[StrictBool] = None, public_access_config: Optional[PublicAccessConfig] = None, quota_limit: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectStoreAccountPatch
Create an instance of ObjectStoreAccountPatch from a dict
- classmethod from_json(json_str: str) ObjectStoreAccountPatch
Create an instance of ObjectStoreAccountPatch from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectStoreAccountPost
- class pypureclient.flashblade.ObjectStoreAccountPost(*, bucket_defaults: Optional[BucketDefaults] = None, hard_limit_enabled: Optional[StrictBool] = None, quota_limit: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectStoreAccountPost
Create an instance of ObjectStoreAccountPost from a dict
- classmethod from_json(json_str: str) ObjectStoreAccountPost
Create an instance of ObjectStoreAccountPost from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectStoreAccountResponse
- class pypureclient.flashblade.ObjectStoreAccountResponse(*, items: Optional[ConstrainedListValue[ObjectStoreAccount]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectStoreAccountResponse
Create an instance of ObjectStoreAccountResponse from a dict
- classmethod from_json(json_str: str) ObjectStoreAccountResponse
Create an instance of ObjectStoreAccountResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectStoreRemoteCredentialGetResp
- class pypureclient.flashblade.ObjectStoreRemoteCredentialGetResp(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None, items: Optional[ConstrainedListValue[ObjectStoreRemoteCredentials]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectStoreRemoteCredentialGetResp
Create an instance of ObjectStoreRemoteCredentialGetResp from a dict
- classmethod from_json(json_str: str) ObjectStoreRemoteCredentialGetResp
Create an instance of ObjectStoreRemoteCredentialGetResp from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectStoreRemoteCredentials
- class pypureclient.flashblade.ObjectStoreRemoteCredentials(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, context: Optional[Reference] = None, access_key_id: Optional[StrictStr] = None, remote: Optional[FixedReference] = None, secret_access_key: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectStoreRemoteCredentials
Create an instance of ObjectStoreRemoteCredentials from a dict
- classmethod from_json(json_str: str) ObjectStoreRemoteCredentials
Create an instance of ObjectStoreRemoteCredentials from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectStoreRemoteCredentialsPost
- class pypureclient.flashblade.ObjectStoreRemoteCredentialsPost(*, access_key_id: Optional[StrictStr] = None, secret_access_key: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectStoreRemoteCredentialsPost
Create an instance of ObjectStoreRemoteCredentialsPost from a dict
- classmethod from_json(json_str: str) ObjectStoreRemoteCredentialsPost
Create an instance of ObjectStoreRemoteCredentialsPost from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectStoreRemoteCredentialsResp
- class pypureclient.flashblade.ObjectStoreRemoteCredentialsResp(*, items: Optional[ConstrainedListValue[ObjectStoreRemoteCredentials]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectStoreRemoteCredentialsResp
Create an instance of ObjectStoreRemoteCredentialsResp from a dict
- classmethod from_json(json_str: str) ObjectStoreRemoteCredentialsResp
Create an instance of ObjectStoreRemoteCredentialsResp from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectStoreRole
- class pypureclient.flashblade.ObjectStoreRole(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, context: Optional[Reference] = None, account: Optional[FixedReference] = None, created: Optional[StrictInt] = None, max_session_duration: Optional[StrictInt] = None, prn: Optional[StrictStr] = None, trusted_entities: Optional[ConstrainedListValue[FixedReference]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectStoreRole
Create an instance of ObjectStoreRole from a dict
- classmethod from_json(json_str: str) ObjectStoreRole
Create an instance of ObjectStoreRole from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectStoreRoleGetResponse
- class pypureclient.flashblade.ObjectStoreRoleGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None, items: Optional[ConstrainedListValue[ObjectStoreRole]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectStoreRoleGetResponse
Create an instance of ObjectStoreRoleGetResponse from a dict
- classmethod from_json(json_str: str) ObjectStoreRoleGetResponse
Create an instance of ObjectStoreRoleGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectStoreRolePost
- class pypureclient.flashblade.ObjectStoreRolePost(*, max_session_duration: Optional[StrictInt] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectStoreRolePost
Create an instance of ObjectStoreRolePost from a dict
- classmethod from_json(json_str: str) ObjectStoreRolePost
Create an instance of ObjectStoreRolePost from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectStoreRoleResponse
- class pypureclient.flashblade.ObjectStoreRoleResponse(*, items: Optional[ConstrainedListValue[ObjectStoreRole]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectStoreRoleResponse
Create an instance of ObjectStoreRoleResponse from a dict
- classmethod from_json(json_str: str) ObjectStoreRoleResponse
Create an instance of ObjectStoreRoleResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectStoreTrustPolicy
- class pypureclient.flashblade.ObjectStoreTrustPolicy(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, enabled: Optional[StrictBool] = None, is_local: Optional[StrictBool] = None, location: Optional[FixedReference] = None, policy_type: Optional[StrictStr] = None, context: Optional[Reference] = None, role: Optional[FixedReference] = None, rules: Optional[ConstrainedListValue[TrustPolicyRule]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectStoreTrustPolicy
Create an instance of ObjectStoreTrustPolicy from a dict
- classmethod from_json(json_str: str) ObjectStoreTrustPolicy
Create an instance of ObjectStoreTrustPolicy from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectStoreTrustPolicyGetResponse
- class pypureclient.flashblade.ObjectStoreTrustPolicyGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None, items: Optional[ConstrainedListValue[ObjectStoreTrustPolicy]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectStoreTrustPolicyGetResponse
Create an instance of ObjectStoreTrustPolicyGetResponse from a dict
- classmethod from_json(json_str: str) ObjectStoreTrustPolicyGetResponse
Create an instance of ObjectStoreTrustPolicyGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectStoreTrustPolicyResponse
- class pypureclient.flashblade.ObjectStoreTrustPolicyResponse(*, items: Optional[ConstrainedListValue[ObjectStoreTrustPolicy]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectStoreTrustPolicyResponse
Create an instance of ObjectStoreTrustPolicyResponse from a dict
- classmethod from_json(json_str: str) ObjectStoreTrustPolicyResponse
Create an instance of ObjectStoreTrustPolicyResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectStoreTrustPolicyRuleGetResponse
- class pypureclient.flashblade.ObjectStoreTrustPolicyRuleGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None, items: Optional[ConstrainedListValue[TrustPolicyRuleWithContext]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectStoreTrustPolicyRuleGetResponse
Create an instance of ObjectStoreTrustPolicyRuleGetResponse from a dict
- classmethod from_json(json_str: str) ObjectStoreTrustPolicyRuleGetResponse
Create an instance of ObjectStoreTrustPolicyRuleGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectStoreTrustPolicyRuleResponse
- class pypureclient.flashblade.ObjectStoreTrustPolicyRuleResponse(*, items: Optional[ConstrainedListValue[TrustPolicyRuleWithContext]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectStoreTrustPolicyRuleResponse
Create an instance of ObjectStoreTrustPolicyRuleResponse from a dict
- classmethod from_json(json_str: str) ObjectStoreTrustPolicyRuleResponse
Create an instance of ObjectStoreTrustPolicyRuleResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectStoreUser
- class pypureclient.flashblade.ObjectStoreUser(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, context: Optional[Reference] = None, access_keys: Optional[ConstrainedListValue[FixedReference]] = None, account: Optional[FixedReference] = None, created: Optional[StrictInt] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectStoreUser
Create an instance of ObjectStoreUser from a dict
- classmethod from_json(json_str: str) ObjectStoreUser
Create an instance of ObjectStoreUser from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectStoreUserGetResponse
- class pypureclient.flashblade.ObjectStoreUserGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None, items: Optional[ConstrainedListValue[ObjectStoreUser]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectStoreUserGetResponse
Create an instance of ObjectStoreUserGetResponse from a dict
- classmethod from_json(json_str: str) ObjectStoreUserGetResponse
Create an instance of ObjectStoreUserGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectStoreUserResponse
- class pypureclient.flashblade.ObjectStoreUserResponse(*, items: Optional[ConstrainedListValue[ObjectStoreUser]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectStoreUserResponse
Create an instance of ObjectStoreUserResponse from a dict
- classmethod from_json(json_str: str) ObjectStoreUserResponse
Create an instance of ObjectStoreUserResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectStoreVirtualHost
- class pypureclient.flashblade.ObjectStoreVirtualHost(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, context: Optional[Reference] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectStoreVirtualHost
Create an instance of ObjectStoreVirtualHost from a dict
- classmethod from_json(json_str: str) ObjectStoreVirtualHost
Create an instance of ObjectStoreVirtualHost from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectStoreVirtualHostGetResponse
- class pypureclient.flashblade.ObjectStoreVirtualHostGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None, items: Optional[ConstrainedListValue[ObjectStoreVirtualHost]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectStoreVirtualHostGetResponse
Create an instance of ObjectStoreVirtualHostGetResponse from a dict
- classmethod from_json(json_str: str) ObjectStoreVirtualHostGetResponse
Create an instance of ObjectStoreVirtualHostGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ObjectStoreVirtualHostResponse
- class pypureclient.flashblade.ObjectStoreVirtualHostResponse(*, items: Optional[ConstrainedListValue[ObjectStoreVirtualHost]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ObjectStoreVirtualHostResponse
Create an instance of ObjectStoreVirtualHostResponse from a dict
- classmethod from_json(json_str: str) ObjectStoreVirtualHostResponse
Create an instance of ObjectStoreVirtualHostResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
OidcSso
- class pypureclient.flashblade.OidcSso(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, enabled: Optional[StrictBool] = None, idp: Optional[OidcSsoPostIdp] = None, prn: Optional[StrictStr] = None, services: Optional[ConstrainedListValue[StrictStr]] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
OidcSsoGetResponse
- class pypureclient.flashblade.OidcSsoGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[OidcSso]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) OidcSsoGetResponse
Create an instance of OidcSsoGetResponse from a dict
- classmethod from_json(json_str: str) OidcSsoGetResponse
Create an instance of OidcSsoGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
OidcSsoPatch
- class pypureclient.flashblade.OidcSsoPatch(*, enabled: Optional[StrictBool] = None, idp: Optional[OidcSsoPostIdp] = None, prn: Optional[StrictStr] = None, services: Optional[ConstrainedListValue[StrictStr]] = None, name: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) OidcSsoPatch
Create an instance of OidcSsoPatch from a dict
- classmethod from_json(json_str: str) OidcSsoPatch
Create an instance of OidcSsoPatch from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
OidcSsoPost
- class pypureclient.flashblade.OidcSsoPost(*, enabled: Optional[StrictBool] = None, idp: Optional[OidcSsoPostIdp] = None, prn: Optional[StrictStr] = None, services: Optional[ConstrainedListValue[StrictStr]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) OidcSsoPost
Create an instance of OidcSsoPost from a dict
- classmethod from_json(json_str: str) OidcSsoPost
Create an instance of OidcSsoPost from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
OidcSsoPostIdp
- class pypureclient.flashblade.OidcSsoPostIdp(*, provider_url: Optional[StrictStr] = None, provider_url_ca_certificate: Optional[Reference] = None, provider_url_ca_certificate_group: Optional[Reference] = None)
Identity Provider # noqa: E501
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) OidcSsoPostIdp
Create an instance of OidcSsoPostIdp from a dict
- classmethod from_json(json_str: str) OidcSsoPostIdp
Create an instance of OidcSsoPostIdp from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
OidcSsoResponse
- class pypureclient.flashblade.OidcSsoResponse(*, items: Optional[ConstrainedListValue[OidcSso]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) OidcSsoResponse
Create an instance of OidcSsoResponse from a dict
- classmethod from_json(json_str: str) OidcSsoResponse
Create an instance of OidcSsoResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
PageInfo
- class pypureclient.flashblade.PageInfo(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
PasswordPoliciesGetResponse
- class pypureclient.flashblade.PasswordPoliciesGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[PasswordPolicy]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) PasswordPoliciesGetResponse
Create an instance of PasswordPoliciesGetResponse from a dict
- classmethod from_json(json_str: str) PasswordPoliciesGetResponse
Create an instance of PasswordPoliciesGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
PasswordPoliciesResponse
- class pypureclient.flashblade.PasswordPoliciesResponse(*, items: Optional[ConstrainedListValue[PasswordPolicy]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) PasswordPoliciesResponse
Create an instance of PasswordPoliciesResponse from a dict
- classmethod from_json(json_str: str) PasswordPoliciesResponse
Create an instance of PasswordPoliciesResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
PasswordPolicy
- class pypureclient.flashblade.PasswordPolicy(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, enabled: Optional[StrictBool] = None, is_local: Optional[StrictBool] = None, location: Optional[FixedReference] = None, policy_type: Optional[StrictStr] = None, enforce_dictionary_check: Optional[StrictBool] = None, enforce_username_check: Optional[StrictBool] = None, lockout_duration: Optional[ConstrainedIntValue] = None, max_login_attempts: Optional[ConstrainedIntValue] = None, min_character_groups: Optional[ConstrainedIntValue] = None, min_characters_per_group: Optional[ConstrainedIntValue] = None, min_password_age: Optional[ConstrainedIntValue] = None, min_password_length: Optional[ConstrainedIntValue] = None, password_history: Optional[ConstrainedIntValue] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) PasswordPolicy
Create an instance of PasswordPolicy from a dict
- classmethod from_json(json_str: str) PasswordPolicy
Create an instance of PasswordPolicy from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Permission
- class pypureclient.flashblade.Permission(*, action: Optional[StrictStr] = None, resource_type: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) Permission
Create an instance of Permission from a dict
- classmethod from_json(json_str: str) Permission
Create an instance of Permission from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Policy
- class pypureclient.flashblade.Policy(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, enabled: Optional[StrictBool] = None, is_local: Optional[StrictBool] = None, location: Optional[FixedReference] = None, policy_type: Optional[StrictStr] = None, context: Optional[Reference] = None, retention_lock: Optional[StrictStr] = None, rules: Optional[ConstrainedListValue[PolicyRule]] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
PolicyBase
- class pypureclient.flashblade.PolicyBase(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, enabled: Optional[StrictBool] = None, is_local: Optional[StrictBool] = None, location: Optional[FixedReference] = None, policy_type: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) PolicyBase
Create an instance of PolicyBase from a dict
- classmethod from_json(json_str: str) PolicyBase
Create an instance of PolicyBase from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
PolicyBaseContext
- class pypureclient.flashblade.PolicyBaseContext(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, enabled: Optional[StrictBool] = None, is_local: Optional[StrictBool] = None, location: Optional[FixedReference] = None, policy_type: Optional[StrictStr] = None, context: Optional[Reference] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) PolicyBaseContext
Create an instance of PolicyBaseContext from a dict
- classmethod from_json(json_str: str) PolicyBaseContext
Create an instance of PolicyBaseContext from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
PolicyBaseGetResponse
- class pypureclient.flashblade.PolicyBaseGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[PolicyBaseContext]] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) PolicyBaseGetResponse
Create an instance of PolicyBaseGetResponse from a dict
- classmethod from_json(json_str: str) PolicyBaseGetResponse
Create an instance of PolicyBaseGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
PolicyBaseRenameable
- class pypureclient.flashblade.PolicyBaseRenameable(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, enabled: Optional[StrictBool] = None, is_local: Optional[StrictBool] = None, location: Optional[FixedReference] = None, policy_type: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) PolicyBaseRenameable
Create an instance of PolicyBaseRenameable from a dict
- classmethod from_json(json_str: str) PolicyBaseRenameable
Create an instance of PolicyBaseRenameable from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
PolicyBaseResponse
- class pypureclient.flashblade.PolicyBaseResponse(*, items: Optional[ConstrainedListValue[PolicyBaseContext]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) PolicyBaseResponse
Create an instance of PolicyBaseResponse from a dict
- classmethod from_json(json_str: str) PolicyBaseResponse
Create an instance of PolicyBaseResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
PolicyFileSystemSnapshot
- class pypureclient.flashblade.PolicyFileSystemSnapshot(*, member: Optional[FixedReference] = None, policy: Optional[LocationReference] = None, context: Optional[Reference] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) PolicyFileSystemSnapshot
Create an instance of PolicyFileSystemSnapshot from a dict
- classmethod from_json(json_str: str) PolicyFileSystemSnapshot
Create an instance of PolicyFileSystemSnapshot from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
PolicyFileSystemSnapshotGetResponse
- class pypureclient.flashblade.PolicyFileSystemSnapshotGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[PolicyFileSystemSnapshot]] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) PolicyFileSystemSnapshotGetResponse
Create an instance of PolicyFileSystemSnapshotGetResponse from a dict
- classmethod from_json(json_str: str) PolicyFileSystemSnapshotGetResponse
Create an instance of PolicyFileSystemSnapshotGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
PolicyFileSystemSnapshotResponse
- class pypureclient.flashblade.PolicyFileSystemSnapshotResponse(*, items: Optional[ConstrainedListValue[PolicyFileSystemSnapshot]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) PolicyFileSystemSnapshotResponse
Create an instance of PolicyFileSystemSnapshotResponse from a dict
- classmethod from_json(json_str: str) PolicyFileSystemSnapshotResponse
Create an instance of PolicyFileSystemSnapshotResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
PolicyGetResponse
- class pypureclient.flashblade.PolicyGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[Policy]] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) PolicyGetResponse
Create an instance of PolicyGetResponse from a dict
- classmethod from_json(json_str: str) PolicyGetResponse
Create an instance of PolicyGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
PolicyMember
- class pypureclient.flashblade.PolicyMember(*, member: Optional[FixedReference] = None, policy: Optional[FixedReference] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) PolicyMember
Create an instance of PolicyMember from a dict
- classmethod from_json(json_str: str) PolicyMember
Create an instance of PolicyMember from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
PolicyMemberContext
- class pypureclient.flashblade.PolicyMemberContext(*, member: Optional[FixedReference] = None, policy: Optional[FixedReference] = None, context: Optional[Reference] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) PolicyMemberContext
Create an instance of PolicyMemberContext from a dict
- classmethod from_json(json_str: str) PolicyMemberContext
Create an instance of PolicyMemberContext from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
PolicyMemberContextGetResponse
- class pypureclient.flashblade.PolicyMemberContextGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[PolicyMemberContext]] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) PolicyMemberContextGetResponse
Create an instance of PolicyMemberContextGetResponse from a dict
- classmethod from_json(json_str: str) PolicyMemberContextGetResponse
Create an instance of PolicyMemberContextGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
PolicyMemberContextResponse
- class pypureclient.flashblade.PolicyMemberContextResponse(*, items: Optional[ConstrainedListValue[PolicyMemberContext]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) PolicyMemberContextResponse
Create an instance of PolicyMemberContextResponse from a dict
- classmethod from_json(json_str: str) PolicyMemberContextResponse
Create an instance of PolicyMemberContextResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
PolicyMemberGetResponse
- class pypureclient.flashblade.PolicyMemberGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[PolicyMember]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) PolicyMemberGetResponse
Create an instance of PolicyMemberGetResponse from a dict
- classmethod from_json(json_str: str) PolicyMemberGetResponse
Create an instance of PolicyMemberGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
PolicyMemberResponse
- class pypureclient.flashblade.PolicyMemberResponse(*, items: Optional[ConstrainedListValue[PolicyMember]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) PolicyMemberResponse
Create an instance of PolicyMemberResponse from a dict
- classmethod from_json(json_str: str) PolicyMemberResponse
Create an instance of PolicyMemberResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
PolicyMemberWithRemote
- class pypureclient.flashblade.PolicyMemberWithRemote(*, member: Optional[FixedReference] = None, policy: Optional[LocationReference] = None, context: Optional[Reference] = None, link: Optional[MemberLink] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) PolicyMemberWithRemote
Create an instance of PolicyMemberWithRemote from a dict
- classmethod from_json(json_str: str) PolicyMemberWithRemote
Create an instance of PolicyMemberWithRemote from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
PolicyMemberWithRemoteGetResponse
- class pypureclient.flashblade.PolicyMemberWithRemoteGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[PolicyMemberWithRemote]] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) PolicyMemberWithRemoteGetResponse
Create an instance of PolicyMemberWithRemoteGetResponse from a dict
- classmethod from_json(json_str: str) PolicyMemberWithRemoteGetResponse
Create an instance of PolicyMemberWithRemoteGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
PolicyMemberWithRemoteResponse
- class pypureclient.flashblade.PolicyMemberWithRemoteResponse(*, items: Optional[ConstrainedListValue[PolicyMemberWithRemote]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) PolicyMemberWithRemoteResponse
Create an instance of PolicyMemberWithRemoteResponse from a dict
- classmethod from_json(json_str: str) PolicyMemberWithRemoteResponse
Create an instance of PolicyMemberWithRemoteResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
PolicyPatch
- class pypureclient.flashblade.PolicyPatch(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, enabled: Optional[StrictBool] = None, is_local: Optional[StrictBool] = None, location: Optional[FixedReference] = None, policy_type: Optional[StrictStr] = None, context: Optional[Reference] = None, retention_lock: Optional[StrictStr] = None, rules: Optional[ConstrainedListValue[PolicyRule]] = None, add_rules: Optional[ConstrainedListValue[PolicyRule]] = None, remove_rules: Optional[ConstrainedListValue[PolicyRule]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) PolicyPatch
Create an instance of PolicyPatch from a dict
- classmethod from_json(json_str: str) PolicyPatch
Create an instance of PolicyPatch from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
PolicyResponse
- class pypureclient.flashblade.PolicyResponse(*, items: Optional[ConstrainedListValue[Policy]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) PolicyResponse
Create an instance of PolicyResponse from a dict
- classmethod from_json(json_str: str) PolicyResponse
Create an instance of PolicyResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
PolicyRule
- class pypureclient.flashblade.PolicyRule(*, at: Optional[StrictInt] = None, every: Optional[StrictInt] = None, keep_for: Optional[StrictInt] = None, time_zone: Optional[StrictStr] = None)
Rule # noqa: E501
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) PolicyRule
Create an instance of PolicyRule from a dict
- classmethod from_json(json_str: str) PolicyRule
Create an instance of PolicyRule from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
PolicyRuleIndex
- class pypureclient.flashblade.PolicyRuleIndex(*, index: Optional[StrictInt] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) PolicyRuleIndex
Create an instance of PolicyRuleIndex from a dict
- classmethod from_json(json_str: str) PolicyRuleIndex
Create an instance of PolicyRuleIndex from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
PolicyRuleIndexInPolicy
- class pypureclient.flashblade.PolicyRuleIndexInPolicy(*, index: Optional[StrictInt] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) PolicyRuleIndexInPolicy
Create an instance of PolicyRuleIndexInPolicy from a dict
- classmethod from_json(json_str: str) PolicyRuleIndexInPolicy
Create an instance of PolicyRuleIndexInPolicy from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
PolicyRuleObjectAccess
- class pypureclient.flashblade.PolicyRuleObjectAccess(*, name: Optional[StrictStr] = None, context: Optional[Reference] = None, actions: Optional[ConstrainedListValue[StrictStr]] = None, conditions: Optional[PolicyRuleObjectAccessCondition] = None, effect: Optional[StrictStr] = None, policy: Optional[FixedReference] = None, resources: Optional[ConstrainedListValue[StrictStr]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) PolicyRuleObjectAccess
Create an instance of PolicyRuleObjectAccess from a dict
- classmethod from_json(json_str: str) PolicyRuleObjectAccess
Create an instance of PolicyRuleObjectAccess from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
PolicyRuleObjectAccessBulkManage
- class pypureclient.flashblade.PolicyRuleObjectAccessBulkManage(*, actions: Optional[ConstrainedListValue[StrictStr]] = None, conditions: Optional[PolicyRuleObjectAccessCondition] = None, effect: Optional[StrictStr] = None, resources: Optional[ConstrainedListValue[StrictStr]] = None, name: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) PolicyRuleObjectAccessBulkManage
Create an instance of PolicyRuleObjectAccessBulkManage from a dict
- classmethod from_json(json_str: str) PolicyRuleObjectAccessBulkManage
Create an instance of PolicyRuleObjectAccessBulkManage from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
PolicyRuleObjectAccessCondition
- class pypureclient.flashblade.PolicyRuleObjectAccessCondition(*, s3_delimiters: Optional[ConstrainedListValue[StrictStr]] = None, s3_prefixes: Optional[ConstrainedListValue[StrictStr]] = None, source_ips: Optional[ConstrainedListValue[StrictStr]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) PolicyRuleObjectAccessCondition
Create an instance of PolicyRuleObjectAccessCondition from a dict
- classmethod from_json(json_str: str) PolicyRuleObjectAccessCondition
Create an instance of PolicyRuleObjectAccessCondition from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
PolicyRuleObjectAccessPost
- class pypureclient.flashblade.PolicyRuleObjectAccessPost(*, actions: Optional[ConstrainedListValue[StrictStr]] = None, conditions: Optional[PolicyRuleObjectAccessCondition] = None, effect: Optional[StrictStr] = None, resources: Optional[ConstrainedListValue[StrictStr]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) PolicyRuleObjectAccessPost
Create an instance of PolicyRuleObjectAccessPost from a dict
- classmethod from_json(json_str: str) PolicyRuleObjectAccessPost
Create an instance of PolicyRuleObjectAccessPost from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
PublicAccessConfig
- class pypureclient.flashblade.PublicAccessConfig(*, block_new_public_policies: Optional[StrictBool] = None, block_public_access: Optional[StrictBool] = None)
Configuration settings related to public access. # noqa: E501
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) PublicAccessConfig
Create an instance of PublicAccessConfig from a dict
- classmethod from_json(json_str: str) PublicAccessConfig
Create an instance of PublicAccessConfig from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
PublicKey
- class pypureclient.flashblade.PublicKey(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, public_key: Optional[ConstrainedStrValue] = None, algorithm: Optional[StrictStr] = None, key_size: Optional[StrictInt] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
PublicKeyGetResponse
- class pypureclient.flashblade.PublicKeyGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[PublicKey]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) PublicKeyGetResponse
Create an instance of PublicKeyGetResponse from a dict
- classmethod from_json(json_str: str) PublicKeyGetResponse
Create an instance of PublicKeyGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
PublicKeyPost
- class pypureclient.flashblade.PublicKeyPost(*, public_key: Optional[ConstrainedStrValue] = None)
A public key configuration, defining a key used for cryptographic signature verification. # noqa: E501
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) PublicKeyPost
Create an instance of PublicKeyPost from a dict
- classmethod from_json(json_str: str) PublicKeyPost
Create an instance of PublicKeyPost from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
PublicKeyResponse
- class pypureclient.flashblade.PublicKeyResponse(*, items: Optional[ConstrainedListValue[PublicKey]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) PublicKeyResponse
Create an instance of PublicKeyResponse from a dict
- classmethod from_json(json_str: str) PublicKeyResponse
Create an instance of PublicKeyResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
PublicKeyUse
- class pypureclient.flashblade.PublicKeyUse(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, use: Optional[FixedReference] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) PublicKeyUse
Create an instance of PublicKeyUse from a dict
- classmethod from_json(json_str: str) PublicKeyUse
Create an instance of PublicKeyUse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
PublicKeyUseGetResponse
- class pypureclient.flashblade.PublicKeyUseGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[PublicKeyUse]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) PublicKeyUseGetResponse
Create an instance of PublicKeyUseGetResponse from a dict
- classmethod from_json(json_str: str) PublicKeyUseGetResponse
Create an instance of PublicKeyUseGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
PublicKeyUseResponse
- class pypureclient.flashblade.PublicKeyUseResponse(*, items: Optional[ConstrainedListValue[PublicKeyUse]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) PublicKeyUseResponse
Create an instance of PublicKeyUseResponse from a dict
- classmethod from_json(json_str: str) PublicKeyUseResponse
Create an instance of PublicKeyUseResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
QosPoliciesGetResponse
- class pypureclient.flashblade.QosPoliciesGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[QosPolicy]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) QosPoliciesGetResponse
Create an instance of QosPoliciesGetResponse from a dict
- classmethod from_json(json_str: str) QosPoliciesGetResponse
Create an instance of QosPoliciesGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
QosPoliciesResponse
- class pypureclient.flashblade.QosPoliciesResponse(*, items: Optional[ConstrainedListValue[QosPolicy]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) QosPoliciesResponse
Create an instance of QosPoliciesResponse from a dict
- classmethod from_json(json_str: str) QosPoliciesResponse
Create an instance of QosPoliciesResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
QosPolicy
- class pypureclient.flashblade.QosPolicy(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, enabled: Optional[StrictBool] = None, is_local: Optional[StrictBool] = None, location: Optional[FixedReference] = None, policy_type: Optional[StrictStr] = None, max_total_bytes_per_sec: Optional[ConstrainedIntValue] = None, max_total_ops_per_sec: Optional[ConstrainedIntValue] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
QuotaSetting
- class pypureclient.flashblade.QuotaSetting(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, contact: Optional[StrictStr] = None, direct_notifications_enabled: Optional[StrictBool] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) QuotaSetting
Create an instance of QuotaSetting from a dict
- classmethod from_json(json_str: str) QuotaSetting
Create an instance of QuotaSetting from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
QuotaSettingGetResponse
- class pypureclient.flashblade.QuotaSettingGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[QuotaSetting]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) QuotaSettingGetResponse
Create an instance of QuotaSettingGetResponse from a dict
- classmethod from_json(json_str: str) QuotaSettingGetResponse
Create an instance of QuotaSettingGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
QuotaSettingResponse
- class pypureclient.flashblade.QuotaSettingResponse(*, items: Optional[ConstrainedListValue[QuotaSetting]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) QuotaSettingResponse
Create an instance of QuotaSettingResponse from a dict
- classmethod from_json(json_str: str) QuotaSettingResponse
Create an instance of QuotaSettingResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
RapidDataLocking
- class pypureclient.flashblade.RapidDataLocking(*, enabled: Optional[StrictBool] = None, kmip_server: Optional[Reference] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) RapidDataLocking
Create an instance of RapidDataLocking from a dict
- classmethod from_json(json_str: str) RapidDataLocking
Create an instance of RapidDataLocking from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
RapidDataLockingResponse
- class pypureclient.flashblade.RapidDataLockingResponse(*, items: Optional[ConstrainedListValue[RapidDataLocking]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) RapidDataLockingResponse
Create an instance of RapidDataLockingResponse from a dict
- classmethod from_json(json_str: str) RapidDataLockingResponse
Create an instance of RapidDataLockingResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Reference
- class pypureclient.flashblade.Reference(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, resource_type: Optional[StrictStr] = None)
An ordinary (as opposed to built-in) resource that can be created, named, renamed or deleted by the user. This might be a virtual resource (e.g., a volume), or correspond to something in the environment, like a host or a server. # noqa: E501
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ReferenceNameOnly
- class pypureclient.flashblade.ReferenceNameOnly(*, name: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ReferenceNameOnly
Create an instance of ReferenceNameOnly from a dict
- classmethod from_json(json_str: str) ReferenceNameOnly
Create an instance of ReferenceNameOnly from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ReferenceWritable
- class pypureclient.flashblade.ReferenceWritable(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, resource_type: Optional[StrictStr] = None)
An ordinary (as opposed to built-in) resource that can be created, named, renamed or deleted by the user. This might be a virtual resource (e.g., a volume), or correspond to something in the environment, like a host or a server. # noqa: E501
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ReferenceWritable
Create an instance of ReferenceWritable from a dict
- classmethod from_json(json_str: str) ReferenceWritable
Create an instance of ReferenceWritable from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
RelationshipPerformanceReplication
- class pypureclient.flashblade.RelationshipPerformanceReplication(*, id: Optional[StrictStr] = None, context: Optional[Reference] = None, aggregate: Optional[ReplicationPerformance] = None, continuous: Optional[ContinuousReplicationPerformance] = None, periodic: Optional[ReplicationPerformance] = None, time: Optional[StrictInt] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) RelationshipPerformanceReplication
Create an instance of RelationshipPerformanceReplication from a dict
- classmethod from_json(json_str: str) RelationshipPerformanceReplication
Create an instance of RelationshipPerformanceReplication from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
RemoteArray
- class pypureclient.flashblade.RemoteArray(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, fleet: Optional[FixedReferenceWithIsLocal] = None, is_local: Optional[StrictBool] = None, model: Optional[StrictStr] = None, os: Optional[StrictStr] = None, version: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) RemoteArray
Create an instance of RemoteArray from a dict
- classmethod from_json(json_str: str) RemoteArray
Create an instance of RemoteArray from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
RemoteArraysResponse
- class pypureclient.flashblade.RemoteArraysResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[RemoteArray]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) RemoteArraysResponse
Create an instance of RemoteArraysResponse from a dict
- classmethod from_json(json_str: str) RemoteArraysResponse
Create an instance of RemoteArraysResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ReplicaLinkBuiltIn
- class pypureclient.flashblade.ReplicaLinkBuiltIn(*, id: Optional[StrictStr] = None, direction: Optional[StrictStr] = None, lag: Optional[StrictInt] = None, status_details: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ReplicaLinkBuiltIn
Create an instance of ReplicaLinkBuiltIn from a dict
- classmethod from_json(json_str: str) ReplicaLinkBuiltIn
Create an instance of ReplicaLinkBuiltIn from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ReplicationPerformance
- class pypureclient.flashblade.ReplicationPerformance(*, received_bytes_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, transmitted_bytes_per_sec: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ReplicationPerformance
Create an instance of ReplicationPerformance from a dict
- classmethod from_json(json_str: str) ReplicationPerformance
Create an instance of ReplicationPerformance from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Resource
- class pypureclient.flashblade.Resource(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None)
An ordinary (as opposed to built-in) resource that can be created, named, renamed or deleted by the user. This might be a virtual resource (e.g., a file system), or correspond to something in the environment, like a network interface. # noqa: E501
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ResourceFixedNonUniqueName
- class pypureclient.flashblade.ResourceFixedNonUniqueName(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None)
A resource with a non-unique name. # noqa: E501
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ResourceFixedNonUniqueName
Create an instance of ResourceFixedNonUniqueName from a dict
- classmethod from_json(json_str: str) ResourceFixedNonUniqueName
Create an instance of ResourceFixedNonUniqueName from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ResourcePerformanceReplication
- class pypureclient.flashblade.ResourcePerformanceReplication(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, aggregate: Optional[ReplicationPerformance] = None, continuous: Optional[ContinuousReplicationPerformance] = None, periodic: Optional[ReplicationPerformance] = None, time: Optional[StrictInt] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ResourcePerformanceReplication
Create an instance of ResourcePerformanceReplication from a dict
- classmethod from_json(json_str: str) ResourcePerformanceReplication
Create an instance of ResourcePerformanceReplication from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ResourcePerformanceReplicationGetResponse
- class pypureclient.flashblade.ResourcePerformanceReplicationGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[ResourcePerformanceReplication]] = None, total: Optional[ConstrainedListValue[ResourcePerformanceReplication]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ResourcePerformanceReplicationGetResponse
Create an instance of ResourcePerformanceReplicationGetResponse from a dict
- classmethod from_json(json_str: str) ResourcePerformanceReplicationGetResponse
Create an instance of ResourcePerformanceReplicationGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Role
- class pypureclient.flashblade.Role(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, permissions: Optional[ConstrainedListValue[Permission]] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
RoleGetResponse
- class pypureclient.flashblade.RoleGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[Role]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) RoleGetResponse
Create an instance of RoleGetResponse from a dict
- classmethod from_json(json_str: str) RoleGetResponse
Create an instance of RoleGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Saml2Sso
- class pypureclient.flashblade.Saml2Sso(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, array_url: Optional[StrictStr] = None, binding: Optional[StrictStr] = None, enabled: Optional[StrictBool] = None, idp: Optional[Saml2SsoIdp] = None, prn: Optional[StrictStr] = None, services: Optional[ConstrainedListValue[StrictStr]] = None, sp: Optional[Saml2SsoSp] = None)
Configuration information for SAML2-based SSO for FlashArray. # noqa: E501
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Saml2SsoGetResponse
- class pypureclient.flashblade.Saml2SsoGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[Saml2Sso]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) Saml2SsoGetResponse
Create an instance of Saml2SsoGetResponse from a dict
- classmethod from_json(json_str: str) Saml2SsoGetResponse
Create an instance of Saml2SsoGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Saml2SsoIdp
- class pypureclient.flashblade.Saml2SsoIdp(*, encrypt_assertion_enabled: Optional[StrictBool] = None, entity_id: Optional[StrictStr] = None, metadata_url: Optional[StrictStr] = None, metadata_url_ca_certificate: Optional[ReferenceWritable] = None, metadata_url_ca_certificate_group: Optional[ReferenceWritable] = None, sign_request_enabled: Optional[StrictBool] = None, url: Optional[StrictStr] = None, verification_certificate: Optional[ReferenceWritable] = None)
Properties specific to the identity provider. # noqa: E501
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) Saml2SsoIdp
Create an instance of Saml2SsoIdp from a dict
- classmethod from_json(json_str: str) Saml2SsoIdp
Create an instance of Saml2SsoIdp from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Saml2SsoPost
- class pypureclient.flashblade.Saml2SsoPost(*, array_url: Optional[StrictStr] = None, binding: Optional[StrictStr] = None, enabled: Optional[StrictBool] = None, idp: Optional[Saml2SsoIdp] = None, prn: Optional[StrictStr] = None, services: Optional[ConstrainedListValue[StrictStr]] = None, sp: Optional[Saml2SsoSp] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) Saml2SsoPost
Create an instance of Saml2SsoPost from a dict
- classmethod from_json(json_str: str) Saml2SsoPost
Create an instance of Saml2SsoPost from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Saml2SsoResponse
- class pypureclient.flashblade.Saml2SsoResponse(*, items: Optional[ConstrainedListValue[Saml2Sso]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) Saml2SsoResponse
Create an instance of Saml2SsoResponse from a dict
- classmethod from_json(json_str: str) Saml2SsoResponse
Create an instance of Saml2SsoResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Saml2SsoSp
- class pypureclient.flashblade.Saml2SsoSp(*, decryption_credential: Optional[ReferenceWritable] = None, signing_credential: Optional[ReferenceWritable] = None, assertion_consumer_url: Optional[StrictStr] = None, entity_id: Optional[StrictStr] = None, metadata_url: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) Saml2SsoSp
Create an instance of Saml2SsoSp from a dict
- classmethod from_json(json_str: str) Saml2SsoSp
Create an instance of Saml2SsoSp from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Saml2SsoSpCredential
- class pypureclient.flashblade.Saml2SsoSpCredential(*, decryption_credential: Optional[ReferenceWritable] = None, signing_credential: Optional[ReferenceWritable] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) Saml2SsoSpCredential
Create an instance of Saml2SsoSpCredential from a dict
- classmethod from_json(json_str: str) Saml2SsoSpCredential
Create an instance of Saml2SsoSpCredential from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Server
- class pypureclient.flashblade.Server(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, directory_services: Optional[ConstrainedListValue[Reference]] = None, dns: Optional[ConstrainedListValue[Reference]] = None, created: Optional[StrictInt] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ServerContext
- class pypureclient.flashblade.ServerContext(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, directory_services: Optional[ConstrainedListValue[Reference]] = None, dns: Optional[ConstrainedListValue[Reference]] = None, created: Optional[StrictInt] = None, context: Optional[Reference] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ServerContext
Create an instance of ServerContext from a dict
- classmethod from_json(json_str: str) ServerContext
Create an instance of ServerContext from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ServerGetResponse
- class pypureclient.flashblade.ServerGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[ServerContext]] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ServerGetResponse
Create an instance of ServerGetResponse from a dict
- classmethod from_json(json_str: str) ServerGetResponse
Create an instance of ServerGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ServerPost
- class pypureclient.flashblade.ServerPost(*, directory_services: Optional[ConstrainedListValue[Reference]] = None, dns: Optional[ConstrainedListValue[Reference]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ServerPost
Create an instance of ServerPost from a dict
- classmethod from_json(json_str: str) ServerPost
Create an instance of ServerPost from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ServerResponse
- class pypureclient.flashblade.ServerResponse(*, items: Optional[ConstrainedListValue[Server]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ServerResponse
Create an instance of ServerResponse from a dict
- classmethod from_json(json_str: str) ServerResponse
Create an instance of ServerResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
ServerResponseContext
- class pypureclient.flashblade.ServerResponseContext(*, items: Optional[ConstrainedListValue[ServerContext]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) ServerResponseContext
Create an instance of ServerResponseContext from a dict
- classmethod from_json(json_str: str) ServerResponseContext
Create an instance of ServerResponseContext from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Session
- class pypureclient.flashblade.Session(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, end_time: Optional[StrictInt] = None, event: Optional[StrictStr] = None, event_count: Optional[StrictInt] = None, identifying_details: Optional[StrictStr] = None, location: Optional[StrictStr] = None, method: Optional[StrictStr] = None, start_time: Optional[StrictInt] = None, user: Optional[StrictStr] = None, user_interface: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SessionGetResponse
- class pypureclient.flashblade.SessionGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[Session]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SessionGetResponse
Create an instance of SessionGetResponse from a dict
- classmethod from_json(json_str: str) SessionGetResponse
Create an instance of SessionGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Smb
- class pypureclient.flashblade.Smb(*, client_policy: Optional[ReferenceWritable] = None, continuous_availability_enabled: Optional[StrictBool] = None, enabled: Optional[StrictBool] = None, share_policy: Optional[ReferenceWritable] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SmbClientPolicy
- class pypureclient.flashblade.SmbClientPolicy(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, enabled: Optional[StrictBool] = None, is_local: Optional[StrictBool] = None, location: Optional[FixedReference] = None, policy_type: Optional[StrictStr] = None, version: Optional[StrictStr] = None, context: Optional[Reference] = None, access_based_enumeration_enabled: Optional[StrictBool] = None, rules: Optional[ConstrainedListValue[SmbClientPolicyRuleInPolicy]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SmbClientPolicy
Create an instance of SmbClientPolicy from a dict
- classmethod from_json(json_str: str) SmbClientPolicy
Create an instance of SmbClientPolicy from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SmbClientPolicyGetResponse
- class pypureclient.flashblade.SmbClientPolicyGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[SmbClientPolicy]] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SmbClientPolicyGetResponse
Create an instance of SmbClientPolicyGetResponse from a dict
- classmethod from_json(json_str: str) SmbClientPolicyGetResponse
Create an instance of SmbClientPolicyGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SmbClientPolicyPost
- class pypureclient.flashblade.SmbClientPolicyPost(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, enabled: Optional[StrictBool] = None, is_local: Optional[StrictBool] = None, location: Optional[FixedReference] = None, policy_type: Optional[StrictStr] = None, access_based_enumeration_enabled: Optional[StrictBool] = None, rules: Optional[ConstrainedListValue[SmbClientPolicyRulePostInPolicy]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SmbClientPolicyPost
Create an instance of SmbClientPolicyPost from a dict
- classmethod from_json(json_str: str) SmbClientPolicyPost
Create an instance of SmbClientPolicyPost from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SmbClientPolicyResponse
- class pypureclient.flashblade.SmbClientPolicyResponse(*, items: Optional[ConstrainedListValue[SmbClientPolicy]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SmbClientPolicyResponse
Create an instance of SmbClientPolicyResponse from a dict
- classmethod from_json(json_str: str) SmbClientPolicyResponse
Create an instance of SmbClientPolicyResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SmbClientPolicyRule
- class pypureclient.flashblade.SmbClientPolicyRule(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, client: Optional[StrictStr] = None, encryption: Optional[StrictStr] = None, permission: Optional[StrictStr] = None, policy: Optional[FixedReference] = None, policy_version: Optional[StrictStr] = None, index: Optional[StrictInt] = None, context: Optional[Reference] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SmbClientPolicyRule
Create an instance of SmbClientPolicyRule from a dict
- classmethod from_json(json_str: str) SmbClientPolicyRule
Create an instance of SmbClientPolicyRule from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SmbClientPolicyRuleBase
- class pypureclient.flashblade.SmbClientPolicyRuleBase(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, client: Optional[StrictStr] = None, encryption: Optional[StrictStr] = None, permission: Optional[StrictStr] = None, policy: Optional[FixedReference] = None, policy_version: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SmbClientPolicyRuleBase
Create an instance of SmbClientPolicyRuleBase from a dict
- classmethod from_json(json_str: str) SmbClientPolicyRuleBase
Create an instance of SmbClientPolicyRuleBase from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SmbClientPolicyRuleGetResponse
- class pypureclient.flashblade.SmbClientPolicyRuleGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[SmbClientPolicyRule]] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SmbClientPolicyRuleGetResponse
Create an instance of SmbClientPolicyRuleGetResponse from a dict
- classmethod from_json(json_str: str) SmbClientPolicyRuleGetResponse
Create an instance of SmbClientPolicyRuleGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SmbClientPolicyRuleInPolicy
- class pypureclient.flashblade.SmbClientPolicyRuleInPolicy(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, client: Optional[StrictStr] = None, encryption: Optional[StrictStr] = None, permission: Optional[StrictStr] = None, policy: Optional[FixedReference] = None, policy_version: Optional[StrictStr] = None, index: Optional[StrictInt] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SmbClientPolicyRuleInPolicy
Create an instance of SmbClientPolicyRuleInPolicy from a dict
- classmethod from_json(json_str: str) SmbClientPolicyRuleInPolicy
Create an instance of SmbClientPolicyRuleInPolicy from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SmbClientPolicyRulePost
- class pypureclient.flashblade.SmbClientPolicyRulePost(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, client: Optional[StrictStr] = None, encryption: Optional[StrictStr] = None, permission: Optional[StrictStr] = None, index: Optional[StrictInt] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SmbClientPolicyRulePost
Create an instance of SmbClientPolicyRulePost from a dict
- classmethod from_json(json_str: str) SmbClientPolicyRulePost
Create an instance of SmbClientPolicyRulePost from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SmbClientPolicyRulePostBase
- class pypureclient.flashblade.SmbClientPolicyRulePostBase(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, client: Optional[StrictStr] = None, encryption: Optional[StrictStr] = None, permission: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SmbClientPolicyRulePostBase
Create an instance of SmbClientPolicyRulePostBase from a dict
- classmethod from_json(json_str: str) SmbClientPolicyRulePostBase
Create an instance of SmbClientPolicyRulePostBase from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SmbClientPolicyRulePostInPolicy
- class pypureclient.flashblade.SmbClientPolicyRulePostInPolicy(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, client: Optional[StrictStr] = None, encryption: Optional[StrictStr] = None, permission: Optional[StrictStr] = None, index: Optional[StrictInt] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SmbClientPolicyRulePostInPolicy
Create an instance of SmbClientPolicyRulePostInPolicy from a dict
- classmethod from_json(json_str: str) SmbClientPolicyRulePostInPolicy
Create an instance of SmbClientPolicyRulePostInPolicy from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SmbClientPolicyRuleResponse
- class pypureclient.flashblade.SmbClientPolicyRuleResponse(*, items: Optional[ConstrainedListValue[SmbClientPolicyRule]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SmbClientPolicyRuleResponse
Create an instance of SmbClientPolicyRuleResponse from a dict
- classmethod from_json(json_str: str) SmbClientPolicyRuleResponse
Create an instance of SmbClientPolicyRuleResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SmbPost
- class pypureclient.flashblade.SmbPost(*, client_policy: Optional[ReferenceWritable] = None, continuous_availability_enabled: Optional[StrictBool] = None, enabled: Optional[StrictBool] = None, share_policy: Optional[ReferenceWritable] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SmtpServer
- class pypureclient.flashblade.SmtpServer(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, encryption_mode: Optional[StrictStr] = None, relay_host: Optional[StrictStr] = None, sender_domain: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SmtpServer
Create an instance of SmtpServer from a dict
- classmethod from_json(json_str: str) SmtpServer
Create an instance of SmtpServer from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SmtpServerGetResponse
- class pypureclient.flashblade.SmtpServerGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[SmtpServer]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SmtpServerGetResponse
Create an instance of SmtpServerGetResponse from a dict
- classmethod from_json(json_str: str) SmtpServerGetResponse
Create an instance of SmtpServerGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SmtpServerResponse
- class pypureclient.flashblade.SmtpServerResponse(*, items: Optional[ConstrainedListValue[SmtpServer]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SmtpServerResponse
Create an instance of SmtpServerResponse from a dict
- classmethod from_json(json_str: str) SmtpServerResponse
Create an instance of SmtpServerResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SnmpAgent
- class pypureclient.flashblade.SnmpAgent(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, engine_id: Optional[ConstrainedStrValue] = None, v2c: Optional[SnmpV2c] = None, v3: Optional[SnmpV3] = None, version: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SnmpAgentGetResponse
- class pypureclient.flashblade.SnmpAgentGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[SnmpAgent]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SnmpAgentGetResponse
Create an instance of SnmpAgentGetResponse from a dict
- classmethod from_json(json_str: str) SnmpAgentGetResponse
Create an instance of SnmpAgentGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SnmpAgentMib
- class pypureclient.flashblade.SnmpAgentMib(*, mib: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SnmpAgentMib
Create an instance of SnmpAgentMib from a dict
- classmethod from_json(json_str: str) SnmpAgentMib
Create an instance of SnmpAgentMib from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SnmpAgentMibResponse
- class pypureclient.flashblade.SnmpAgentMibResponse(*, items: Optional[ConstrainedListValue[SnmpAgentMib]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SnmpAgentMibResponse
Create an instance of SnmpAgentMibResponse from a dict
- classmethod from_json(json_str: str) SnmpAgentMibResponse
Create an instance of SnmpAgentMibResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SnmpAgentResponse
- class pypureclient.flashblade.SnmpAgentResponse(*, items: Optional[ConstrainedListValue[SnmpAgent]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SnmpAgentResponse
Create an instance of SnmpAgentResponse from a dict
- classmethod from_json(json_str: str) SnmpAgentResponse
Create an instance of SnmpAgentResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SnmpManager
- class pypureclient.flashblade.SnmpManager(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, host: Optional[StrictStr] = None, notification: Optional[StrictStr] = None, v2c: Optional[SnmpV2c] = None, v3: Optional[SnmpV3] = None, version: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SnmpManager
Create an instance of SnmpManager from a dict
- classmethod from_json(json_str: str) SnmpManager
Create an instance of SnmpManager from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SnmpManagerGetResponse
- class pypureclient.flashblade.SnmpManagerGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[SnmpManager]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SnmpManagerGetResponse
Create an instance of SnmpManagerGetResponse from a dict
- classmethod from_json(json_str: str) SnmpManagerGetResponse
Create an instance of SnmpManagerGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SnmpManagerPost
- class pypureclient.flashblade.SnmpManagerPost(*, host: Optional[StrictStr] = None, notification: Optional[StrictStr] = None, v2c: Optional[SnmpV2c] = None, v3: Optional[SnmpV3Post] = None, version: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SnmpManagerPost
Create an instance of SnmpManagerPost from a dict
- classmethod from_json(json_str: str) SnmpManagerPost
Create an instance of SnmpManagerPost from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SnmpManagerResponse
- class pypureclient.flashblade.SnmpManagerResponse(*, items: Optional[ConstrainedListValue[SnmpManager]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SnmpManagerResponse
Create an instance of SnmpManagerResponse from a dict
- classmethod from_json(json_str: str) SnmpManagerResponse
Create an instance of SnmpManagerResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SnmpManagerTest
- class pypureclient.flashblade.SnmpManagerTest(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, error: Optional[StrictStr] = None, sent: Optional[StrictBool] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SnmpManagerTest
Create an instance of SnmpManagerTest from a dict
- classmethod from_json(json_str: str) SnmpManagerTest
Create an instance of SnmpManagerTest from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SnmpV2c
- class pypureclient.flashblade.SnmpV2c(*, community: Optional[ConstrainedStrValue] = None)
The v2c configurations of SNMP. # noqa: E501
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SnmpV3
- class pypureclient.flashblade.SnmpV3(*, auth_passphrase: Optional[StrictStr] = None, auth_protocol: Optional[StrictStr] = None, privacy_passphrase: Optional[StrictStr] = None, privacy_protocol: Optional[StrictStr] = None, user: Optional[StrictStr] = None)
The v3 configurations of SNMP. # noqa: E501
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SnmpV3Post
- class pypureclient.flashblade.SnmpV3Post(*, auth_passphrase: Optional[ConstrainedStrValue] = None, auth_protocol: Optional[StrictStr] = None, privacy_passphrase: Optional[ConstrainedStrValue] = None, privacy_protocol: Optional[StrictStr] = None, user: Optional[StrictStr] = None)
The v3 configurations of SNMP. # noqa: E501
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SnmpV3Post
Create an instance of SnmpV3Post from a dict
- classmethod from_json(json_str: str) SnmpV3Post
Create an instance of SnmpV3Post from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SoftwareCheck
- class pypureclient.flashblade.SoftwareCheck(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, end_time: Optional[StrictInt] = None, start_time: Optional[StrictInt] = None, checks: Optional[ConstrainedListValue[SoftwareChecksChecks]] = None, details: Optional[StrictStr] = None, software_name: Optional[StrictStr] = None, software_upgrade_hops: Optional[ConstrainedListValue[StrictStr]] = None, software_version: Optional[StrictStr] = None, status: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SoftwareCheck
Create an instance of SoftwareCheck from a dict
- classmethod from_json(json_str: str) SoftwareCheck
Create an instance of SoftwareCheck from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SoftwareChecksChecks
- class pypureclient.flashblade.SoftwareChecksChecks(*, details: Optional[StrictStr] = None, name: Optional[StrictStr] = None, status: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SoftwareChecksChecks
Create an instance of SoftwareChecksChecks from a dict
- classmethod from_json(json_str: str) SoftwareChecksChecks
Create an instance of SoftwareChecksChecks from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SoftwareChecksGetResponse
- class pypureclient.flashblade.SoftwareChecksGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[SoftwareCheck]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SoftwareChecksGetResponse
Create an instance of SoftwareChecksGetResponse from a dict
- classmethod from_json(json_str: str) SoftwareChecksGetResponse
Create an instance of SoftwareChecksGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SoftwareChecksResponse
- class pypureclient.flashblade.SoftwareChecksResponse(*, items: Optional[ConstrainedListValue[SoftwareCheck]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SoftwareChecksResponse
Create an instance of SoftwareChecksResponse from a dict
- classmethod from_json(json_str: str) SoftwareChecksResponse
Create an instance of SoftwareChecksResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Space
- class pypureclient.flashblade.Space(*, available_provisioned: Optional[ConstrainedIntValue] = None, available_ratio: Optional[Union[ConstrainedFloatValue, ConstrainedIntValue]] = None, data_reduction: Optional[Union[StrictFloat, StrictInt]] = None, destroyed: Optional[StrictInt] = None, destroyed_virtual: Optional[StrictInt] = None, shared: Optional[StrictInt] = None, snapshots: Optional[StrictInt] = None, total_physical: Optional[ConstrainedIntValue] = None, total_provisioned: Optional[ConstrainedIntValue] = None, total_used: Optional[ConstrainedIntValue] = None, unique: Optional[StrictInt] = None, virtual: Optional[StrictInt] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
StartEndTime
- class pypureclient.flashblade.StartEndTime(*, end_time: Optional[StrictInt] = None, start_time: Optional[StrictInt] = None)
A resource with a start time and end time. # noqa: E501
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) StartEndTime
Create an instance of StartEndTime from a dict
- classmethod from_json(json_str: str) StartEndTime
Create an instance of StartEndTime from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
StorageClassInfo
- class pypureclient.flashblade.StorageClassInfo(*, name: Optional[StrictStr] = None, status: Optional[StrictStr] = None, status_details: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) StorageClassInfo
Create an instance of StorageClassInfo from a dict
- classmethod from_json(json_str: str) StorageClassInfo
Create an instance of StorageClassInfo from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
StorageClassSpace
- class pypureclient.flashblade.StorageClassSpace(*, name: Optional[StrictStr] = None, capacity: Optional[StrictInt] = None, space: Optional[Space] = None, time: Optional[StrictInt] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) StorageClassSpace
Create an instance of StorageClassSpace from a dict
- classmethod from_json(json_str: str) StorageClassSpace
Create an instance of StorageClassSpace from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Subnet
- class pypureclient.flashblade.Subnet(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, enabled: Optional[StrictBool] = None, gateway: Optional[StrictStr] = None, interfaces: Optional[ConstrainedListValue[FixedReference]] = None, link_aggregation_group: Optional[Reference] = None, mtu: Optional[ConstrainedIntValue] = None, prefix: Optional[StrictStr] = None, services: Optional[ConstrainedListValue[StrictStr]] = None, vlan: Optional[StrictInt] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SubnetGetResponse
- class pypureclient.flashblade.SubnetGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[Subnet]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SubnetGetResponse
Create an instance of SubnetGetResponse from a dict
- classmethod from_json(json_str: str) SubnetGetResponse
Create an instance of SubnetGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SubnetResponse
- class pypureclient.flashblade.SubnetResponse(*, items: Optional[ConstrainedListValue[Subnet]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SubnetResponse
Create an instance of SubnetResponse from a dict
- classmethod from_json(json_str: str) SubnetResponse
Create an instance of SubnetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Support
- class pypureclient.flashblade.Support(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, phonehome_enabled: Optional[StrictBool] = None, proxy: Optional[StrictStr] = None, remote_assist_active: Optional[StrictBool] = None, remote_assist_duration: Optional[StrictInt] = None, remote_assist_expires: Optional[StrictStr] = None, remote_assist_opened: Optional[StrictStr] = None, remote_assist_paths: Optional[ConstrainedListValue[SupportRemoteAssistPaths]] = None, remote_assist_status: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SupportDiagnostics
- class pypureclient.flashblade.SupportDiagnostics(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, analysis_period: Optional[StartEndTime] = None, index: Optional[StrictInt] = None, severity_count: Optional[ConstrainedListValue[SupportDiagnosticsSeverityCount]] = None, start_time: Optional[StrictInt] = None, status: Optional[StrictStr] = None, task_id: Optional[StrictStr] = None, version: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SupportDiagnostics
Create an instance of SupportDiagnostics from a dict
- classmethod from_json(json_str: str) SupportDiagnostics
Create an instance of SupportDiagnostics from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SupportDiagnosticsDetails
- class pypureclient.flashblade.SupportDiagnosticsDetails(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, index: Optional[Union[StrictFloat, StrictInt]] = None, result_details: Optional[StrictStr] = None, severity: Optional[StrictStr] = None, task_id: Optional[StrictStr] = None, test_name: Optional[StrictStr] = None, test_type: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SupportDiagnosticsDetails
Create an instance of SupportDiagnosticsDetails from a dict
- classmethod from_json(json_str: str) SupportDiagnosticsDetails
Create an instance of SupportDiagnosticsDetails from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SupportDiagnosticsDetailsGetResponse
- class pypureclient.flashblade.SupportDiagnosticsDetailsGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[SupportDiagnosticsDetails]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SupportDiagnosticsDetailsGetResponse
Create an instance of SupportDiagnosticsDetailsGetResponse from a dict
- classmethod from_json(json_str: str) SupportDiagnosticsDetailsGetResponse
Create an instance of SupportDiagnosticsDetailsGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SupportDiagnosticsDetailsResponse
- class pypureclient.flashblade.SupportDiagnosticsDetailsResponse(*, items: Optional[ConstrainedListValue[SupportDiagnosticsDetails]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SupportDiagnosticsDetailsResponse
Create an instance of SupportDiagnosticsDetailsResponse from a dict
- classmethod from_json(json_str: str) SupportDiagnosticsDetailsResponse
Create an instance of SupportDiagnosticsDetailsResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SupportDiagnosticsGetResponse
- class pypureclient.flashblade.SupportDiagnosticsGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[SupportDiagnostics]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SupportDiagnosticsGetResponse
Create an instance of SupportDiagnosticsGetResponse from a dict
- classmethod from_json(json_str: str) SupportDiagnosticsGetResponse
Create an instance of SupportDiagnosticsGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SupportDiagnosticsResponse
- class pypureclient.flashblade.SupportDiagnosticsResponse(*, items: Optional[ConstrainedListValue[SupportDiagnostics]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SupportDiagnosticsResponse
Create an instance of SupportDiagnosticsResponse from a dict
- classmethod from_json(json_str: str) SupportDiagnosticsResponse
Create an instance of SupportDiagnosticsResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SupportDiagnosticsSeverityCount
- class pypureclient.flashblade.SupportDiagnosticsSeverityCount(*, count: Optional[StrictInt] = None, severity: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SupportDiagnosticsSeverityCount
Create an instance of SupportDiagnosticsSeverityCount from a dict
- classmethod from_json(json_str: str) SupportDiagnosticsSeverityCount
Create an instance of SupportDiagnosticsSeverityCount from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SupportGetResponse
- class pypureclient.flashblade.SupportGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[Support]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SupportGetResponse
Create an instance of SupportGetResponse from a dict
- classmethod from_json(json_str: str) SupportGetResponse
Create an instance of SupportGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SupportRemoteAssistPaths
- class pypureclient.flashblade.SupportRemoteAssistPaths(*, component_name: Optional[StrictStr] = None, status: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SupportRemoteAssistPaths
Create an instance of SupportRemoteAssistPaths from a dict
- classmethod from_json(json_str: str) SupportRemoteAssistPaths
Create an instance of SupportRemoteAssistPaths from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SupportResponse
- class pypureclient.flashblade.SupportResponse(*, items: Optional[ConstrainedListValue[Support]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SupportResponse
Create an instance of SupportResponse from a dict
- classmethod from_json(json_str: str) SupportResponse
Create an instance of SupportResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SyslogServer
- class pypureclient.flashblade.SyslogServer(*, uri: Optional[StrictStr] = None, services: Optional[ConstrainedListValue[StrictStr]] = None, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SyslogServer
Create an instance of SyslogServer from a dict
- classmethod from_json(json_str: str) SyslogServer
Create an instance of SyslogServer from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SyslogServerContext
- class pypureclient.flashblade.SyslogServerContext(*, uri: Optional[StrictStr] = None, services: Optional[ConstrainedListValue[StrictStr]] = None, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, context: Optional[Reference] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SyslogServerContext
Create an instance of SyslogServerContext from a dict
- classmethod from_json(json_str: str) SyslogServerContext
Create an instance of SyslogServerContext from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SyslogServerContextResponse
- class pypureclient.flashblade.SyslogServerContextResponse(*, items: Optional[ConstrainedListValue[SyslogServerContext]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SyslogServerContextResponse
Create an instance of SyslogServerContextResponse from a dict
- classmethod from_json(json_str: str) SyslogServerContextResponse
Create an instance of SyslogServerContextResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SyslogServerGetResponse
- class pypureclient.flashblade.SyslogServerGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[SyslogServerContext]] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SyslogServerGetResponse
Create an instance of SyslogServerGetResponse from a dict
- classmethod from_json(json_str: str) SyslogServerGetResponse
Create an instance of SyslogServerGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SyslogServerPatch
- class pypureclient.flashblade.SyslogServerPatch(*, uri: Optional[StrictStr] = None, services: Optional[ConstrainedListValue[StrictStr]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SyslogServerPatch
Create an instance of SyslogServerPatch from a dict
- classmethod from_json(json_str: str) SyslogServerPatch
Create an instance of SyslogServerPatch from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SyslogServerPost
- class pypureclient.flashblade.SyslogServerPost(*, uri: Optional[StrictStr] = None, services: Optional[ConstrainedListValue[StrictStr]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SyslogServerPost
Create an instance of SyslogServerPost from a dict
- classmethod from_json(json_str: str) SyslogServerPost
Create an instance of SyslogServerPost from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SyslogServerPostOrPatch
- class pypureclient.flashblade.SyslogServerPostOrPatch(*, uri: Optional[StrictStr] = None)
A syslog server # noqa: E501
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SyslogServerPostOrPatch
Create an instance of SyslogServerPostOrPatch from a dict
- classmethod from_json(json_str: str) SyslogServerPostOrPatch
Create an instance of SyslogServerPostOrPatch from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SyslogServerResponse
- class pypureclient.flashblade.SyslogServerResponse(*, items: Optional[ConstrainedListValue[SyslogServer]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SyslogServerResponse
Create an instance of SyslogServerResponse from a dict
- classmethod from_json(json_str: str) SyslogServerResponse
Create an instance of SyslogServerResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SyslogServerSettings
- class pypureclient.flashblade.SyslogServerSettings(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, ca_certificate: Optional[Dict[str, Any]] = None, ca_certificate_group: Optional[Dict[str, Any]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SyslogServerSettings
Create an instance of SyslogServerSettings from a dict
- classmethod from_json(json_str: str) SyslogServerSettings
Create an instance of SyslogServerSettings from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SyslogServerSettingsGetResponse
- class pypureclient.flashblade.SyslogServerSettingsGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[SyslogServerSettings]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SyslogServerSettingsGetResponse
Create an instance of SyslogServerSettingsGetResponse from a dict
- classmethod from_json(json_str: str) SyslogServerSettingsGetResponse
Create an instance of SyslogServerSettingsGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
SyslogServerSettingsResponse
- class pypureclient.flashblade.SyslogServerSettingsResponse(*, items: Optional[ConstrainedListValue[SyslogServerSettings]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) SyslogServerSettingsResponse
Create an instance of SyslogServerSettingsResponse from a dict
- classmethod from_json(json_str: str) SyslogServerSettingsResponse
Create an instance of SyslogServerSettingsResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Target
- class pypureclient.flashblade.Target(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, address: Optional[StrictStr] = None, ca_certificate_group: Optional[FixedReference] = None, status: Optional[StrictStr] = None, status_details: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
TargetGetResponse
- class pypureclient.flashblade.TargetGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[TargetWithContext]] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) TargetGetResponse
Create an instance of TargetGetResponse from a dict
- classmethod from_json(json_str: str) TargetGetResponse
Create an instance of TargetGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
TargetPost
- class pypureclient.flashblade.TargetPost(*, address: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) TargetPost
Create an instance of TargetPost from a dict
- classmethod from_json(json_str: str) TargetPost
Create an instance of TargetPost from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
TargetResponse
- class pypureclient.flashblade.TargetResponse(*, items: Optional[ConstrainedListValue[Target]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) TargetResponse
Create an instance of TargetResponse from a dict
- classmethod from_json(json_str: str) TargetResponse
Create an instance of TargetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
TargetResponseContext
- class pypureclient.flashblade.TargetResponseContext(*, items: Optional[ConstrainedListValue[TargetWithContext]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) TargetResponseContext
Create an instance of TargetResponseContext from a dict
- classmethod from_json(json_str: str) TargetResponseContext
Create an instance of TargetResponseContext from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
TargetWithContext
- class pypureclient.flashblade.TargetWithContext(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, address: Optional[StrictStr] = None, ca_certificate_group: Optional[FixedReference] = None, status: Optional[StrictStr] = None, status_details: Optional[StrictStr] = None, context: Optional[Reference] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) TargetWithContext
Create an instance of TargetWithContext from a dict
- classmethod from_json(json_str: str) TargetWithContext
Create an instance of TargetWithContext from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
TestResult
- class pypureclient.flashblade.TestResult(*, component_address: Optional[StrictStr] = None, component_name: Optional[StrictStr] = None, description: Optional[StrictStr] = None, destination: Optional[StrictStr] = None, enabled: Optional[StrictBool] = None, resource: Optional[FixedReference] = None, result_details: Optional[StrictStr] = None, success: Optional[StrictBool] = None, test_type: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) TestResult
Create an instance of TestResult from a dict
- classmethod from_json(json_str: str) TestResult
Create an instance of TestResult from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
TestResultGetResponse
- class pypureclient.flashblade.TestResultGetResponse(*, items: Optional[ConstrainedListValue[TestResult]] = None, total_item_count: Optional[StrictInt] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) TestResultGetResponse
Create an instance of TestResultGetResponse from a dict
- classmethod from_json(json_str: str) TestResultGetResponse
Create an instance of TestResultGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
TestResultResponse
- class pypureclient.flashblade.TestResultResponse(*, items: Optional[ConstrainedListValue[TestResult]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) TestResultResponse
Create an instance of TestResultResponse from a dict
- classmethod from_json(json_str: str) TestResultResponse
Create an instance of TestResultResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Throttle
- class pypureclient.flashblade.Throttle(*, default_limit: Optional[StrictInt] = None, window: Optional[TimeWindow] = None, window_limit: Optional[StrictInt] = None)
The bandwidth throttling for an array connection or target. # noqa: E501
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
TimeWindow
- class pypureclient.flashblade.TimeWindow(*, end: Optional[StrictInt] = None, start: Optional[StrictInt] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) TimeWindow
Create an instance of TimeWindow from a dict
- classmethod from_json(json_str: str) TimeWindow
Create an instance of TimeWindow from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
TimeZone
- class pypureclient.flashblade.TimeZone(*, name: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
TlsPolicy
- class pypureclient.flashblade.TlsPolicy(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, enabled: Optional[StrictBool] = None, is_local: Optional[StrictBool] = None, location: Optional[FixedReference] = None, policy_type: Optional[StrictStr] = None, appliance_certificate: Optional[ReferenceWritable] = None, disabled_tls_ciphers: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, enabled_tls_ciphers: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, min_tls_version: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
TlsPolicyGetResponse
- class pypureclient.flashblade.TlsPolicyGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[TlsPolicy]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) TlsPolicyGetResponse
Create an instance of TlsPolicyGetResponse from a dict
- classmethod from_json(json_str: str) TlsPolicyGetResponse
Create an instance of TlsPolicyGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
TlsPolicyPost
- class pypureclient.flashblade.TlsPolicyPost(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, enabled: Optional[StrictBool] = None, is_local: Optional[StrictBool] = None, location: Optional[FixedReference] = None, policy_type: Optional[StrictStr] = None, appliance_certificate: Optional[ReferenceWritable] = None, disabled_tls_ciphers: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, enabled_tls_ciphers: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, min_tls_version: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) TlsPolicyPost
Create an instance of TlsPolicyPost from a dict
- classmethod from_json(json_str: str) TlsPolicyPost
Create an instance of TlsPolicyPost from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
TlsPolicyResponse
- class pypureclient.flashblade.TlsPolicyResponse(*, items: Optional[ConstrainedListValue[TlsPolicy]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) TlsPolicyResponse
Create an instance of TlsPolicyResponse from a dict
- classmethod from_json(json_str: str) TlsPolicyResponse
Create an instance of TlsPolicyResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
TrustPolicyRule
- class pypureclient.flashblade.TrustPolicyRule(*, name: Optional[StrictStr] = None, index: Optional[StrictInt] = None, actions: Optional[ConstrainedListValue[StrictStr]] = None, conditions: Optional[ConstrainedListValue[TrustPolicyRuleCondition]] = None, effect: Optional[StrictStr] = None, policy: Optional[FixedReference] = None, principals: Optional[ConstrainedListValue[ReferenceWritable]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) TrustPolicyRule
Create an instance of TrustPolicyRule from a dict
- classmethod from_json(json_str: str) TrustPolicyRule
Create an instance of TrustPolicyRule from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
TrustPolicyRuleCondition
- class pypureclient.flashblade.TrustPolicyRuleCondition(*, key: Optional[StrictStr] = None, operator: Optional[StrictStr] = None, values: Optional[ConstrainedListValue[StrictStr]] = None)
Identity-provider-specific condition that specifies who can assume the role. # noqa: E501
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) TrustPolicyRuleCondition
Create an instance of TrustPolicyRuleCondition from a dict
- classmethod from_json(json_str: str) TrustPolicyRuleCondition
Create an instance of TrustPolicyRuleCondition from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
TrustPolicyRulePost
- class pypureclient.flashblade.TrustPolicyRulePost(*, actions: Optional[ConstrainedListValue[StrictStr]] = None, conditions: Optional[ConstrainedListValue[TrustPolicyRuleCondition]] = None, effect: Optional[StrictStr] = None, policy: Optional[FixedReference] = None, principals: Optional[ConstrainedListValue[ReferenceWritable]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) TrustPolicyRulePost
Create an instance of TrustPolicyRulePost from a dict
- classmethod from_json(json_str: str) TrustPolicyRulePost
Create an instance of TrustPolicyRulePost from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
TrustPolicyRuleWithContext
- class pypureclient.flashblade.TrustPolicyRuleWithContext(*, name: Optional[StrictStr] = None, index: Optional[StrictInt] = None, actions: Optional[ConstrainedListValue[StrictStr]] = None, conditions: Optional[ConstrainedListValue[TrustPolicyRuleCondition]] = None, effect: Optional[StrictStr] = None, policy: Optional[FixedReference] = None, principals: Optional[ConstrainedListValue[ReferenceWritable]] = None, context: Optional[Reference] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) TrustPolicyRuleWithContext
Create an instance of TrustPolicyRuleWithContext from a dict
- classmethod from_json(json_str: str) TrustPolicyRuleWithContext
Create an instance of TrustPolicyRuleWithContext from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
User
- class pypureclient.flashblade.User(*, id: Optional[StrictInt] = None, name: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
UserNoId
- class pypureclient.flashblade.UserNoId(*, name: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
UserQuota
- class pypureclient.flashblade.UserQuota(*, name: Optional[StrictStr] = None, context: Optional[Reference] = None, file_system: Optional[FixedReference] = None, file_system_default_quota: Optional[StrictInt] = None, quota: Optional[StrictInt] = None, usage: Optional[StrictInt] = None, user: Optional[User] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
UserQuotaGetResponse
- class pypureclient.flashblade.UserQuotaGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[UserQuota]] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) UserQuotaGetResponse
Create an instance of UserQuotaGetResponse from a dict
- classmethod from_json(json_str: str) UserQuotaGetResponse
Create an instance of UserQuotaGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
UserQuotaPatch
- class pypureclient.flashblade.UserQuotaPatch(*, name: Optional[StrictStr] = None, quota: StrictInt)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) UserQuotaPatch
Create an instance of UserQuotaPatch from a dict
- classmethod from_json(json_str: str) UserQuotaPatch
Create an instance of UserQuotaPatch from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
UserQuotaPost
- class pypureclient.flashblade.UserQuotaPost(*, name: Optional[StrictStr] = None, quota: StrictInt)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) UserQuotaPost
Create an instance of UserQuotaPost from a dict
- classmethod from_json(json_str: str) UserQuotaPost
Create an instance of UserQuotaPost from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
UserQuotaResponse
- class pypureclient.flashblade.UserQuotaResponse(*, items: Optional[ConstrainedListValue[UserQuota]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) UserQuotaResponse
Create an instance of UserQuotaResponse from a dict
- classmethod from_json(json_str: str) UserQuotaResponse
Create an instance of UserQuotaResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
VerificationKey
- class pypureclient.flashblade.VerificationKey(*, key_id: Optional[StrictInt] = None, name: Optional[StrictStr] = None, verification_key: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) VerificationKey
Create an instance of VerificationKey from a dict
- classmethod from_json(json_str: str) VerificationKey
Create an instance of VerificationKey from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
VerificationKeyGetResponse
- class pypureclient.flashblade.VerificationKeyGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[VerificationKey]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) VerificationKeyGetResponse
Create an instance of VerificationKeyGetResponse from a dict
- classmethod from_json(json_str: str) VerificationKeyGetResponse
Create an instance of VerificationKeyGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
VerificationKeyPatch
- class pypureclient.flashblade.VerificationKeyPatch(*, signed_verification_key: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) VerificationKeyPatch
Create an instance of VerificationKeyPatch from a dict
- classmethod from_json(json_str: str) VerificationKeyPatch
Create an instance of VerificationKeyPatch from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
VerificationKeyResponse
- class pypureclient.flashblade.VerificationKeyResponse(*, items: Optional[ConstrainedListValue[VerificationKey]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) VerificationKeyResponse
Create an instance of VerificationKeyResponse from a dict
- classmethod from_json(json_str: str) VerificationKeyResponse
Create an instance of VerificationKeyResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Version
- class pypureclient.flashblade.Version(*, version: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
WormDataPoliciesGetResponse
- class pypureclient.flashblade.WormDataPoliciesGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[WormDataPolicy]] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) WormDataPoliciesGetResponse
Create an instance of WormDataPoliciesGetResponse from a dict
- classmethod from_json(json_str: str) WormDataPoliciesGetResponse
Create an instance of WormDataPoliciesGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
WormDataPoliciesMembersGetResponse
- class pypureclient.flashblade.WormDataPoliciesMembersGetResponse(*, continuation_token: Optional[StrictStr] = None, total_item_count: Optional[StrictInt] = None, items: Optional[ConstrainedListValue[PolicyMemberContext]] = None, errors: Optional[ConstrainedListValue[ErrorContextResponseErrors]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) WormDataPoliciesMembersGetResponse
Create an instance of WormDataPoliciesMembersGetResponse from a dict
- classmethod from_json(json_str: str) WormDataPoliciesMembersGetResponse
Create an instance of WormDataPoliciesMembersGetResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
WormDataPoliciesMembersResponse
- class pypureclient.flashblade.WormDataPoliciesMembersResponse(*, items: Optional[ConstrainedListValue[PolicyMemberContext]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) WormDataPoliciesMembersResponse
Create an instance of WormDataPoliciesMembersResponse from a dict
- classmethod from_json(json_str: str) WormDataPoliciesMembersResponse
Create an instance of WormDataPoliciesMembersResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
WormDataPoliciesResponse
- class pypureclient.flashblade.WormDataPoliciesResponse(*, items: Optional[ConstrainedListValue[WormDataPolicy]] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) WormDataPoliciesResponse
Create an instance of WormDataPoliciesResponse from a dict
- classmethod from_json(json_str: str) WormDataPoliciesResponse
Create an instance of WormDataPoliciesResponse from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
WormDataPolicy
- class pypureclient.flashblade.WormDataPolicy(*, id: Optional[StrictStr] = None, name: Optional[StrictStr] = None, enabled: Optional[StrictBool] = None, is_local: Optional[StrictBool] = None, location: Optional[FixedReference] = None, policy_type: Optional[StrictStr] = None, default_retention: Optional[StrictInt] = None, max_retention: Optional[StrictInt] = None, min_retention: Optional[StrictInt] = None, mode: Optional[StrictStr] = None, retention_lock: Optional[StrictStr] = None, context: Optional[Reference] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) WormDataPolicy
Create an instance of WormDataPolicy from a dict
- classmethod from_json(json_str: str) WormDataPolicy
Create an instance of WormDataPolicy from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
WormDataPolicyRetentionConfig
- class pypureclient.flashblade.WormDataPolicyRetentionConfig(*, default_retention: Optional[StrictInt] = None, max_retention: Optional[StrictInt] = None, min_retention: Optional[StrictInt] = None, mode: Optional[StrictStr] = None, retention_lock: Optional[StrictStr] = None)
- class Config
Pydantic configuration
- classmethod from_dict(obj: dict) WormDataPolicyRetentionConfig
Create an instance of WormDataPolicyRetentionConfig from a dict
- classmethod from_json(json_str: str) WormDataPolicyRetentionConfig
Create an instance of WormDataPolicyRetentionConfig from a JSON string
- to_dict(include_readonly: bool = True) Dict[str, Any]
Returns the dictionary representation of the model using alias
- to_json() str
Returns the JSON representation of the model using alias
- to_str() str
Returns the string representation of the model using alias
Examples
Instantiating a Client
All of the examples on this page assume that you have instantiated a client object in this way and also have these imports. Different methods of authentication are discussed in Quick Start.
import pypureclient
from pypureclient import flashblade
try:
# login to the array with your API_TOKEN
client = flashblade.Client(target='10.255.9.28', api_token=API_TOKEN)
except pypureclient.exceptions.PureError as e:
print("Exception when logging in to the array: %s\n" % e)
Common Fields
ids, names
Instead of getting all things, you can just get values for specific items.
# list a subset of admin accounts by name with api token exposed
res = client.get_admins(names=['pureuser'], expose_api_token=True)
If you know the id of the object (pureuser in this case) you can use ids instead of names
# list a subset of admin accounts by id
res = client.get_admins(ids=['10314f42-020d-7080-8013-000ddt400090'])
There are a number of other fields that follow the same logic such as bucket_names and bucket_ids. The usage
will be the same and in these cases the object is clearly referenced by the field name.
filter
Check Quick Start for more information
sort
You can sort on a given field. By default it is in increasing order.
# list filesystems and sort by provisioned
res = client.get_file_systems(sort="provisioned")
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
If you would like descending order, insert a - after the field.
# list filesystems and sort by provisioned
res = client.get_file_systems(sort="provisioned-")
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
For nested fields, use a .
# list and sort by name in descendant order
res = client.get_file_systems_policies(sort="policy.name-")
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
offset, limit, continuation_token
Use offset to ignore the first couple items from the collection.
res = client.get_file_systems(offset=3)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
Use limit to limit the number of results.
# list first five filesystems and sort by provisioned in descendant order
res = client.get_file_systems(limit=5, sort="provisioned-")
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
You can see that res will contain a continuation_token field. You can use this to print out the rest of the results.
# list all remaining file systems using continuation token from above
res = client.get_file_systems(continuation_token=res.continuation_token)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
total_only
If you don’t want the individual results, you can use total_only.
# total instantaneous performance across 2 targets
res = client.get_targets_performance_replication(names=['s3target1', 's3target2'],
total_only=True)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
context_names
Use context_names if you want to perform an operation on a different execution context. The execution context must reference an array or arrays in the same fleet. If not specified, it defaults to the name of the array that received this request. If the request is anything other than a GET request, the context_names must be an array of size one, for example:
If the request is a GET request, context_names may contain multiple elements. This will execute the request on all specified contexts and return the merged response. For example:
Other parameters provided with the request, such as names of filesystems or snapshots, are resolved relative to the provided execution context.
allow_errors
Use allow_errors if you want to allow errors in the response, along the results. This can only occur when the execution context consists of multiple arrays and executing the operation on one of the arrays fails.
If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.
Apiclientsap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
delete_api_clients
# delete the API client with name 'my_api_client'
client.delete_api_clients(names=['my_api_client'])
# Other valid fields: ids
# See section "Common Fields" for examples
get_api_clients
# List all configured api clients.
res = client.get_api_clients()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# List first two api clients beginning with 'my_oauth'. Use default sorting.
res = client.get_api_clients(limit=2, names=["my_oauth"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# List the first api client when sorting by name.
res = client.get_api_clients(limit=1, sort="name")
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# List an api client by id.
res = client.get_api_clients(ids=["10314f42-020d-7080-8013-000ddt400090"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# List all api_clients servers that are enabled.
res = client.get_api_clients(filter='enabled=\"True\"')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, offset
# See section "Common Fields" for examples
patch_api_clients
from pypureclient.flashblade import ApiClient
CLIENT_NAME = 'my_api_client'
# Enable the api client.
attr = ApiClient(enabled=True)
res = client.patch_api_clients(api_clients=attr, names=[CLIENT_NAME])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids
# See section "Common Fields" for examples
post_api_clients
from pypureclient.flashblade import ApiClientsPost
CLIENT_NAME = 'my_api_client'
CLIENT_TTL_IN_MS = 1000 * 60 * 60 # 1 hour in milliseconds
CLIENT_PUB_KEY = ("\n"
"-----BEGIN PUBLIC KEY-----\n"
"MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEArSe6chh1JzME9svOKjU0\n"
"eKTm8S23Ok3Vr2bWuPri/YHfLrlnRwWoCt+st0/BebKSJ+fQUWOaLlqpZQKpI8oR\n"
"gJ9sWmwGibVG8cTuz7XMkskx9bsm/bjIenuB4W+s3g0BCsi9930mfdKgJgFzY69O\n"
"nLh7d7hAFcmhSJa945PryQZpvJ/U4Ue5F4d+WXgEJ0SoSRaZ6bbeMPhcbMHTzTum\n"
"2ZrPBkK5cqPYitaso6BXeAlqNQPw4Kbu4Ugm0CTogrtImkwoonWDDP34XMOq+u7q\n"
"sNTbJSvDKMTM1RPPrTWCaLiuZkdLVEVesZ9/8+XUMIgBTElwQJDCAQer03MJzqRr\n"
"1eCZGgLfDuYqwMG2MFaAX7kgqBwwyqRTd6MxaQxt2nkdfwiXSY71llzEQ23g3T+1\n"
"64zjwAL5f+dtu8PkGF7IdU2T8P2Qk9bG9pckwZHWYkBK77BAk5jbmSzsKGZgRb2R\n"
"1E+TWDKIaveFhQp251j/C5wkZwMXgjOzN+BOPo+OiLBGUl+jRybWA9f7Vq1MEdf6\n"
"SEdLiqYrXcZERkYBMieLXAfdtaztAIb96cUu+OKMSLDk+D0GHkUfm7lEbDK3ew1+\n"
"D6z+BnxDyH6oqZzz4lS2kPLBLsc+6pdTGuKLf0S9YuLiqJe659AdwU8+X/3KtwNd\n"
"FVJSaxdFbWx0nj3hJqFkIO8CAwEAAQ==\n"
"-----END PUBLIC KEY-----\n")
# Create a new api client with a max_role of storage_admin who has permissions to
# perform storage related operations such as administering volumes, hosts and host groups.
# Note that this created api client will have the lesser of the permissions granted by max_role
# in the api_client and the max role of the associated oauth login.
# The public_key will be the key provided by your oauth login provider.
attr = ApiClientsPost(max_role={'name': 'storage_admin'},
public_key=CLIENT_PUB_KEY,
issuer=CLIENT_NAME,
access_token_ttl_in_ms=CLIENT_TTL_IN_MS)
res = client.post_api_clients(names=[CLIENT_NAME], api_client=attr)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
Activedirectoryap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
delete_active_directory
# Delete active directory account
client.delete_active_directory(names=["test-config"])
# Do a local-only delete of an active directory account
client.delete_active_directory(names=["test-config"], local_only=True)
# Other valid fields: ids
# See section "Common Fields" for examples
get_active_directory
# List active directory accounts
res = client.get_active_directory()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, ids, limit, names, offset, sort
# See section "Common Fields" for examples
patch_active_directory
from pypureclient.flashblade import ActiveDirectoryPatch
# Change existing Active Directory account LDAP, global catalog and kerberos servers, encryption types, and
# service principal names.
# Can alternatively supply fqdns instead of service_principal_names
ad_config = ActiveDirectoryPatch(
directory_servers=["ldap.my-corporation.com", "ldap.subdomain.my-corporation.com@subdomain.my-corporation.com"],
kerberos_servers=["kdc.my-corporation.com"],
global_catalog_servers=["gc.my-corporation.com", "gc.subdomain.my-corporation.com@subdomain.my-corporation.com"],
encryption_types=["aes256-cts-hmac-sha1-96"],
service_principal_names=["nfs/vip2.my-array.my-corporation.com"],
)
res = client.patch_active_directory(names=["test-config"], active_directory=ad_config)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Move existing Active Directory account to a different Join OU
ad_config = ActiveDirectoryPatch(join_ou="OU=FakeOU")
res = client.patch_active_directory(names=["test-config"], active_directory=ad_config)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids
# See section "Common Fields" for examples
post_active_directory
from pypureclient.flashblade import ActiveDirectoryPost
# Create new Active Directory account with specified LDAP, global catalog and kerberos servers, computer name
# and specified encryption types, fqdns, and join_ou.
# Can alternatively supply service_principal_names instead of fqdns.
ad_config = ActiveDirectoryPost(
computer_name="FLASHBLADE01",
directory_servers=["ldap.my-corporation.com", "ldap.subdomain.my-corporation.com@subdomain.my-corporation.com"],
kerberos_servers=["kdc.my-corporation.com"],
global_catalog_servers=["gc.my-corporation.com", "gc.subdomain.my-corporation.com@subdomain.my-corporation.com"],
domain="my-corporation.com",
encryption_types=["aes128-cts-hmac-sha1-96"],
fqdns=["vip1.my-array.my-corporation.com"],
join_ou="CN=FakeOU",
user="Administrator",
password="Password",
)
res = client.post_active_directory(names=["test-config"], active_directory=ad_config)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Join AD domain using an existing computer account
existing_ad_config = ActiveDirectoryPost(
computer_name="FLASHBLADE01", domain="my-corporation.com", user="Administrator", password="Password"
)
res = client.post_active_directory(
names=["test-config"], active_directory=existing_ad_config, join_existing_account=True
)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
get_active_directory_test
# Test active directory accounts
res = client.get_active_directory_test()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: filter, ids, limit, names, sort
# See section "Common Fields" for examples
Administratorsap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
delete_admins_api_tokens
# Delete api token for admin1
client.delete_admins_api_tokens(admin_names=["admin1"])
# Other valid fields: admin_ids
# See section "Common Fields" for examples
get_admins_api_tokens
# Get api tokens with current user's exposed
res = client.get_admins_api_tokens(expose_api_token=True)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: admin_ids, admin_names, continuation_token, filter, limit, offset, sort
# See section "Common Fields" for examples
post_admins_api_tokens
# Create api token for admin1 for 1 hour (timeout in ms)
res = client.post_admins_api_tokens(admin_names=["admin1"], timeout=1*60*60*1000)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: admin_ids
# See section "Common Fields" for examples
delete_admins_cache
# delete an admin cache entry
client.delete_admins_cache(names=['adminuser'])
# delete all admin cache entries
client.delete_admins_cache()
# Other valid fields: ids
# See section "Common Fields" for examples
get_admins_cache
# list admin cache entry
res = client.get_admins_cache(names=['adminuser'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# refresh admin cache entry for user with id '10314f42-020d-7080-8013-000ddt400090'
res = client.get_admins_cache(ids=['10314f42-020d-7080-8013-000ddt400090'],
refresh=True)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, limit, offset, sort
# See section "Common Fields" for examples
delete_admins
# Delete the admins by names.
res = client.delete_admins(names=['test-admin'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# delete the admins with id '10314f42-020d-7080-8013-000ddt400090'
res = client.delete_admins(ids=['10314f42-020d-7080-8013-000ddt400090'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
get_admins
# list all admin accounts (given sufficient permissions)
res = client.get_admins()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list a subset of admin accounts by name with api token exposed
res = client.get_admins(names=['pureuser'], expose_api_token=True)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list a subset of admin accounts by id
res = client.get_admins(ids=['10314f42-020d-7080-8013-000ddt400090'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, limit, offset, sort
# See section "Common Fields" for examples
patch_admins
from pypureclient.flashblade import AdminPatch
# change password
myAdmin = AdminPatch(old_password='thisWASanOLDpasSwOrD', password='FAKEnewpaSsword')
res = client.patch_admins(names=['pureuser'], admin=myAdmin)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Set a public key for login via SSH
myAdmin = AdminPatch(public_key='ssh-rsa EXAMPLEzaC1yc2EAAAADAQABAAABAQDN1fshdvABLD/f2mkAUqkcUMKPsS+Os3omYFwe3G2Adxc'
'enBY+kLmbPXjiC9t4UDob3RiYu6HkDC2xvu8yLhlQTtsjCac2BkePJa/OTxttwY5G6OyYqWjmSmX9D6GZ13'
'CRr/rSxjXYo/2GE/0xyv27/Z+ikxjs6rzXXOhdxJ6hY1jD1D8+fHVxhr8+n6Zbod8and0rlgmarfRoRYlLh'
'GoRSCxNyOi6bG5ugrlIEXi8JZr8CpztGp/8WTa82XCSClFJPteC/5vLvwPGxwOraZ/BJngBPbmeeloN5lBl'
'W0KAndRqwNZcDBt8JnGioPd0Kv+SNufwR4nHCv8NgEXAMPLE')
res = client.patch_admins(names=['pureuser'], admin=myAdmin)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids
# See section "Common Fields" for examples
post_admins
from pypureclient.flashblade.FB_2_15 import AdminPost, ReferenceWritable
password = 'FAKEnewpaSsword'
public_key = ('ssh-rsa EXAMPLEzaC1yc2EAAAADAQABAAABAQDN1fshdvABLD/f2mkAUqkcUMKPsS+Os3omYFwe3G2Adxc'
'enBY+kLmbPXjiC9t4UDob3RiYu6HkDC2xvu8yLhlQTtsjCac2BkePJa/OTxttwY5G6OyYqWjmSmX9D6GZ13'
'CRr/rSxjXYo/2GE/0xyv27/Z+ikxjs6rzXXOhdxJ6hY1jD1D8+fHVxhr8+n6Zbod8and0rlgmarfRoRYlLh'
'GoRSCxNyOi6bG5ugrlIEXi8JZr8CpztGp/8WTa82XCSClFJPteC/5vLvwPGxwOraZ/BJngBPbmeeloN5lBl'
'W0KAndRqwNZcDBt8JnGioPd0Kv+SNufwR4nHCv8NgEXAMPLE')
NEW_ROLE_NAME = 'array_admin'
role_reference = ReferenceWritable(name=NEW_ROLE_NAME)
myAdmin = AdminPost(password=password, role=role_reference)
res = client.post_admins(names=['new-admin-1'], admin=myAdmin)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
myAdmin = AdminPost(password=password, public_key=public_key, role=role_reference)
res = client.post_admins(names=['new-admin-2'], admin=myAdmin)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields:
# See section "Common Fields" for examples
get_admins_settings
# list global admin settings
res = client.get_admins_settings()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, limit, offset, sort
# See section "Common Fields" for examples
patch_admins_settings
from pypureclient.flashblade import AdminSetting
# Configure admin settings
settings = AdminSetting(lockout_duration=60, max_login_attempts=5, min_password_length=8)
res = client.patch_admins_settings(admin_setting=settings)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
Alertwatchersap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
delete_alert_watchers
# delete an alert watcher with a given email address. this address will no longer receive
# any emails about any alerts, new or updated, from the system
client.delete_alert_watchers(names=['moved_teams@mydomain.com'])
# Other valid fields: ids
# See section "Common Fields" for examples
get_alert_watchers
# list alert watchers with email address matching the below wildcard patterns. the first
# pattern includes all emails with "on_call" in them, and second pattern includes all
# emails ending with "@example.com"
res = client.get_alert_watchers(
names=['*on_call*', '*@example.com'], sort='name-')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, ids, limit, offset
# See section "Common Fields" for examples
patch_alert_watchers
from pypureclient.flashblade import AlertWatcher
# An example of how to disable an alert watcher, so they stop receiving all emails about
# alerts
watcher_settings = AlertWatcher(enabled=False)
res = client.patch_alert_watchers(
names=['person_on_vacation@mydomain.com'], alert_watcher=watcher_settings)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# An example of how to set an alert watcher to only receive emails about alerts of severity
# 'critical'. This can be useful if there's an email alias tied directly into an on-call
# paging system or if there's an email alias of people who should be contacted about issues
# that need to be escalated quickly
watcher_settings = AlertWatcher(minimum_notification_severity='critical')
res = client.patch_alert_watchers(
names=['storage_admins_on_call@mydomain.com'], alert_watcher=watcher_settings)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids
# See section "Common Fields" for examples
post_alert_watchers
from pypureclient.flashblade import AlertWatcherPost
# create an alert watcher with a given email address such that they'll receive emails
# about all system alerts
res = client.post_alert_watchers(names=['i_get_everything@example.com'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# create an alert watcher with a given email address such that they'll only receive emails
# about alerts of severity 'warning' and above
watcher_create_settings = AlertWatcherPost(minimum_notification_severity='warning')
res = client.post_alert_watchers(names=['rack_monitor@example.com'],
alert_watcher=watcher_create_settings)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
get_alert_watchers_test
# test alert watchers with given email addresses
res = client.get_alert_watchers_test(
names=['test1@example.com', 'test2@example.com'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: filter, ids, sort
# See section "Common Fields" for examples
Alertsap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
get_alerts
res = client.get_alerts()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list alerts and sort by severity
res = client.get_alerts(sort='severity')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, limit, ids, names, offset
# See section "Common Fields" for examples
patch_alerts
from pypureclient.flashblade import Alert
# unflag an alert with the given id
alert_settings = Alert(flagged=False)
res = client.patch_alerts(
names=['1'], alerts_settings=alert_settings)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids
# See section "Common Fields" for examples
Arrayconnectionsap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
get_array_connections_connection_key
# list all connection keys
res = client.get_array_connections_connection_key()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, ids, limit, names, offset, sort
# See section "Common Fields" for examples
post_array_connections_connection_key
# post to the array-connections/connection-key endpoint to get a connection key
res = client.post_array_connections_connection_key()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
delete_array_connections
# delete the array connection with the name 'otherarray'
client.delete_array_connections(remote_names=['otherarray'])
# delete the array connection with id '10314f42-020d-7080-8013-000ddt400090'
client.delete_array_connections(remote_ids=['10314f42-020d-7080-8013-000ddt400090'])
# Other valid fields: ids
# See section "Common Fields" for examples
get_array_connections
# list all array connections
res = client.get_array_connections()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all array connections with remote name "otherarray"
res = client.get_array_connections(remote_names=["otherarray"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all array connections with remote id '10314f42-020d-7080-8013-000ddt400090'
res = client.get_array_connections(remote_ids=['10314f42-020d-7080-8013-000ddt400090'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list first five array connections and sort by source in descendant order
res = client.get_array_connections(limit=5, sort="version-")
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all remaining array connections
res = client.get_array_connections(continuation_token=res.continuation_token)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list with filter to see only array connections on a specified version
res = client.get_array_connections(filter='version=\'3.*\'')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids, offset
# See section "Common Fields" for examples
patch_array_connections
from pypureclient.flashblade import ArrayConnection
# Update the management and replication addresses of an array connection
new_attr = ArrayConnection(management_address="10.202.101.70",
replication_addresses=["10.202.101.71", "10.202.101.72"])
# update the array connection named otherarray
res = client.patch_array_connections(remote_names=["otherarray"], array_connection=new_attr)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# update the array connection with id '10314f42-020d-7080-8013-000ddt400090'
res = client.patch_array_connections(ids=['10314f42-020d-7080-8013-000ddt400090'],
array_connection=new_attr)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: remote_ids
# See section "Common Fields" for examples
get_array_connections_path
# list all array connection paths
res = client.get_array_connections_path()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list first five array connection paths using default sort
res = client.get_array_connections_path(limit=5)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list first five array connection paths and sort by source in descendant order
res = client.get_array_connections_path(limit=5, sort="source-")
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all remaining array connection paths
res = client.get_array_connections_path(continuation_token=res.continuation_token)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list with filter to see only array connection paths from a specified source ip
res = client.get_array_connections_path(filter='source=\'10.202.101.70\'')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids, remote_ids, remote_names, offset
# See section "Common Fields" for examples
get_array_connections_performance_replication
# list instantaneous replication performance for all array connections
res = client.get_array_connections_performance_replication()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list instantaneous file-replication performance for all array connections
res = client.get_array_connections_performance_replication(type='file-system')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list instantaneous file-replication performance for array connection with id '10314f42-020d-7080-8013-000ddt400090'
res = client.get_array_connections_performance_replication(ids=['10314f42-020d-7080-8013-000ddt400090'],
type='file-system')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list historical object-replication performance for all array connections between some
# start time and end time
res = client.get_array_connections_performance_replication(
start_time=START_TIME,
end_time=END_TIME,
type='object-store',
resolution=30000)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list historical object-replication performance for array connection 'remote_array' between some
# start time and end time
res = client.get_array_connections_performance_replication(
start_time=START_TIME,
end_time=END_TIME,
resolution=30000,
type='object-store',
remote_names=['remote_array'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, limit, offset, remote_ids, remote_names,
# sort, total_only
# See section "Common Fields" for examples
post_array_connections
from pypureclient.flashblade import ArrayConnectionPost
# connect to an array with specified hostname, using a provided connection key
hostname = "https://my.array.com"
connection_key = "6207d123-d123-0b5c-5fa1-95fabc5c7123"
myAC = ArrayConnectionPost(management_address=hostname, connection_key=connection_key)
# post the array connection object on the array we're connection from
res = client.post_array_connections(array_connection=myAC)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# connect to an array by ip address and specifying replication addresses, using a provided connection key
mgmt_addr = "10.202.101.78"
repl_addr = ["10.202.101.70"]
connection_key = "6207d123-d123-0b5c-5fa1-95fabc5c7123"
myAC = ArrayConnectionPost(management_address=mgmt_addr, replication_addresses=repl_addr, connection_key=connection_key)
# post the array connection object on the array we're connection from
res = client.post_array_connections(array_connection=myAC)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
Arraysap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
get_arrays_eula
res = client.get_arrays_eula()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Valid fields: continuation_token, filter, limit, offset, sort
# See section "Common Fields" for examples
patch_arrays_eula
from pypureclient.flashblade import Eula, EulaSignature
# Update the EULA with eula body parameter
# The fields 'name', 'title', 'company' are no longer required, but are still accepted and will be ignored.
signature = EulaSignature(name="example name", title="example", company="one company")
eula_body = Eula(signature=signature)
res = client.patch_arrays_eula(eula=eula_body)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Update the EULA with eula empty body parameter
# eula body with empty signature are still accepted, but will be ignored.
signature = EulaSignature()
eula_body = Eula(signature=signature)
res = client.patch_arrays_eula(eula=eula_body)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Update the EULA with no parameter
res = client.patch_arrays_eula()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
delete_arrays_factory_reset_token
# Delete the array's factory reset token
client.delete_arrays_factory_reset_token()
get_arrays_factory_reset_token
# List the array's factory reset token
res = client.get_arrays_factory_reset_token()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, limit, offset, sort
# See section "Common Fields" for examples
post_arrays_factory_reset_token
# Create a factory reset token for the array
res = client.post_arrays_factory_reset_token()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
get_arrays
res = client.get_arrays()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, limit, offset, sort
# See section "Common Fields" for examples
get_arrays_http_specific_performance
res = client.get_arrays_http_specific_performance()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list historical http performance
res = client.get_arrays_http_specific_performance(
start_time=START_TIME,
end_time=END_TIME,
resolution=30000)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
get_arrays_nfs_specific_performance
res = client.get_arrays_nfs_specific_performance()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list historical nfs performance
res = client.get_arrays_nfs_specific_performance(
start_time=START_TIME,
end_time=END_TIME,
resolution=30000)
patch_arrays
from pypureclient.flashblade import Array
# Set the banner to "example-banner"
# Rename the array to "example-name"
# Set the NTP server to "0.example.ntp.server"
# Change the array time zone to "America/Los_Angeles"
array_settings = Array(banner="example-banner",
name="example-name",
ntp_servers=["0.example.ntp.server"],
time_zone="America/Los_Angeles")
res = client.patch_arrays(array=array_settings)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
get_arrays_performance
res = client.get_arrays_performance()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list array performance for http
res = client.get_arrays_performance(protocol='http')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list array performance for s3
res = client.get_arrays_performance(protocol='s3')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list array performance for nfs
res = client.get_arrays_performance(protocol='nfs')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list historical array performance
res = client.get_arrays_performance(
start_time=START_TIME,
end_time=END_TIME,
resolution=30000)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
get_arrays_performance_replication
# list instantaneous replication performance for array
res = client.get_arrays_performance_replication()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list instantaneous file-replication performance for array
res = client.get_arrays_performance_replication(type='file-system')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list historical object-replication performance for array between some
# start time and end time
res = client.get_arrays_performance_replication(
start_time=START_TIME,
end_time=END_TIME,
type='object-store',
resolution=30000)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
get_arrays_s3_specific_performance
res = client.get_arrays_s3_specific_performance()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list historical s3 performance
res = client.get_arrays_s3_specific_performance(
start_time=START_TIME,
end_time=END_TIME,
resolution=30000)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
get_arrays_space
res = client.get_arrays_space()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list array space of file systems
res = client.get_arrays_space(type='file-system')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list historical array space
res = client.get_arrays_space(start_time=START_TIME,
end_time=END_TIME,
resolution=30000)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
get_arrays_space_storage_classes
res = client.get_arrays_space_storage_classes()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list storage class space of S500X-S storage class
res = client.get_arrays_space_storage_classes(storage_class_names='S500X-S')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list historical storage class space
res = client.get_arrays_space_storage_classes(start_time=START_TIME,
end_time=END_TIME,
resolution=30000)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, limit, offset, sort, total_only
# See section "Common Fields" for examples
get_arrays_supported_time_zones
res = client.get_arrays_supported_time_zones()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, limit, names, offset, sort
# See section "Common Fields" for examples
Auditsap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
get_audits
# list all audits
res = client.get_audits()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, ids, limit, names, offset, sort
# See section "Common Fields" for examples
Bladesap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
get_blades
# list all blades
res = client.get_blades()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list a subset of blades by name
res = client.get_blades(names=['CH1.FB1', 'CH1.FB2'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list a subset of blades by id
res = client.get_blades(ids=['100abf42-0000-4000-8023-000det400090',
'10314f42-020d-7080-8013-000ddt400090'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all healthy blades
res = client.get_blades(filter='status=\'healthy\'')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, limit, offset, sort, total_only
# See section "Common Fields" for examples
Bucketreplicalinksap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
delete_bucket_replica_links
# delete the replica link on the local bucket with the name 'my-connected-array'
client.delete_bucket_replica_links(local_bucket_names=['localbucket'],
remote_bucket_names=['remotebucket'],
remote_names=['my-connected-array'])
# delete the replica link on the local bucket with id '10314f42-020d-7080-8013-000ddt400090'
client.delete_bucket_replica_links(local_bucket_ids=['10314f42-020d-7080-8013-000ddt400090'],
remote_bucket_names=['remotebucket'],
remote_ids=['10314f42-020d-7080-8013-000ddt400012'])
# Other valid fields: ids
# See section "Common Fields" for examples
get_bucket_replica_links
# list all replica links
res = client.get_bucket_replica_links()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list first five replica links using default sort
res = client.get_bucket_replica_links(limit=5)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list first five replica links and sort by remote
res = client.get_bucket_replica_links(limit=5, sort='remote')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list replica links on the remote 's3target'
res = client.get_bucket_replica_links(remote_names=['s3target'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all remaining replica links
res = client.get_bucket_replica_links(continuation_token=res.continuation_token)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list with filter to see only replica links that are paused
res = client.get_bucket_replica_links(filter='paused')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids, local_bucket_ids, local_bucket_names, offset,
# remote_bucket_names, remote_ids, total_only
# See section "Common Fields" for examples
patch_bucket_replica_links
from pypureclient.flashblade import BucketReplicaLink, ObjectStoreRemoteCredentials
# Pause an existing bucket replica link
# Also change the remote credentials we're using for replication to the credentials named "remote/name"
new_attr = BucketReplicaLink(paused=True, remote_credentials=ObjectStoreRemoteCredentials(name="remote/name"))
# Update the existing replica link on the specified local bucket, to the specified remote bucket on the remote
# Use the attribute map from before to pause the link and change credentials
res = client.patch_bucket_replica_links(local_bucket_names=['localbucket'],
remote_names=['remote'],
remote_bucket_names=['remotebucket'],
bucket_replica_link=new_attr)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Update the existing replica link on the specified local bucket, to the specified remote bucket on the remote (by ids)
# Use the attribute map from before to pause the link and change credentials
res = client.patch_bucket_replica_links(local_bucket_ids=['10314f42-020d-7080-8013-000ddt400090'],
remote_ids=['10314f42-020d-7080-8013-000ddt400045'],
remote_bucket_names=['remotebucket'],
bucket_replica_link=new_attr)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids
# See section "Common Fields" for examples
post_bucket_replica_links
from pypureclient.flashblade import BucketReplicaLinkPost
# create a replica link from a specified local bucket, to a specified remote bucket
# on the remote corresponding to the remote credentials
local_bucket_names = ["localbucket"]
remote_bucket_names = ["remotebucket"]
remote_credentials_names = ["remote/credentials"]
# We can specify if we want to enable cascading and if we want to pause the replica link immediately at creation
my_replica_link = BucketReplicaLinkPost(cascading_enabled=True, paused=False)
# post the bucket replica link object on the local array
res = client.post_bucket_replica_links(local_bucket_names=local_bucket_names,
remote_bucket_names=remote_bucket_names,
remote_credentials_names=remote_credentials_names,
bucket_replica_link=my_replica_link)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: local_bucket_ids, remote_credentials_ids
# See ids in section "Common Fields" for examples
Bucketsap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
delete_buckets_bucket_access_policies
# delete a bucket access policy by bucket name
client.delete_buckets_bucket_access_policies(bucket_names=["bkt1"])
# delete a bucket access policy by bucket id
client.delete_buckets_bucket_access_policies(bucket_ids=["28674514-e27d-48b3-ae81-d3d2e868f647"])
# delete a bucket access policy by name
client.delete_buckets_bucket_access_policies(names=["bkt1/access-policy"])
get_buckets_bucket_access_policies
# list bucket access policy by bucket id
res = client.get_buckets_bucket_access_policies(bucket_ids=["28674514-e27d-48b3-ae81-d3d2e868f647"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list bucket access policy by bucket name
res = client.get_buckets_bucket_access_policies(bucket_names=["bkt1"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list bucket access policy by policy name
res = client.get_buckets_bucket_access_policies(names=["bkt1/access-policy"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, limit, offset, sort
# See section "Common Fields" for examples
post_buckets_bucket_access_policies
from pypureclient.flashblade import BucketAccessPolicyPost, BucketAccessPolicyRule, BucketAccessPolicyRulePrincipal
# create an empty access policy
res = client.post_buckets_bucket_access_policies(bucket_names=["bkt1"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# create an access policy with the public read rule
rule = BucketAccessPolicyRule(
name="myrule",
actions=["s3:GetObject"],
principals=BucketAccessPolicyRulePrincipal(
all=True
),
resources=["bkt1/*"]
)
policy = BucketAccessPolicyPost(
rules=[rule]
)
# post with bucket name
res = client.post_buckets_bucket_access_policies(bucket_names=["bkt1"], policy=policy)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# post with bucket ID
res = client.post_buckets_bucket_access_policies(bucket_ids=["28674514-e27d-48b3-ae81-d3d2e868f647"], policy=policy)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
delete_buckets_bucket_access_policies_rules
# delete a bucket access policy rule by bucket name
client.delete_buckets_bucket_access_policies_rules(bucket_names=["bkt1"], names=["myrule"])
# delete a bucket access policy rule by bucket id
client.delete_buckets_bucket_access_policies_rules(bucket_ids=["28674514-e27d-48b3-ae81-d3d2e868f647"], names=["myrule"])
# delete a bucket access policy rule by policy name
client.delete_buckets_bucket_access_policies_rules(policy_names=["bkt1/access-policy"], names=["myrule"])
get_buckets_bucket_access_policies_rules
# list all bucket access policy rules by bucket id
res = client.get_buckets_bucket_access_policies_rules(bucket_ids=["28674514-e27d-48b3-ae81-d3d2e868f647"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all bucket access policy rules by bucket name
res = client.get_buckets_bucket_access_policies_rules(bucket_names=["bkt1"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all bucket access policy rules by policy name
res = client.get_buckets_bucket_access_policies_rules(policy_names=["bkt1/access-policy"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list specific bucket access policy rule
res = client.get_buckets_bucket_access_policies_rules(policy_names=["bkt1/access-policy"], names=["myrule"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, limit, offset, sort
# See section "Common Fields" for examples
post_buckets_bucket_access_policies_rules
from pypureclient.flashblade import BucketAccessPolicyRulePost, BucketAccessPolicyRulePrincipal
# create a public read rule
rule = BucketAccessPolicyRulePost(
actions=["s3:GetObject"],
principals=BucketAccessPolicyRulePrincipal(
all=True
),
resources=["bkt1/*"]
)
# create by policy name
res = client.post_buckets_bucket_access_policies_rules(policy_names=["bkt1/access-policy"], names=["myrule"], rule=rule)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# create by bucket name
res = client.post_buckets_bucket_access_policies_rules(bucket_names=["bkt1"], names=["myrule"], rule=rule)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# create by bucket id
res = client.post_buckets_bucket_access_policies_rules(bucket_ids=["28674514-e27d-48b3-ae81-d3d2e868f647"], names=["myrule"], rule=rule)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
delete_buckets_cross_origin_resource_sharing_policies
# delete a bucket cross-origin resource sharing policy by bucket name
client.delete_buckets_cross_origin_resource_sharing_policies(bucket_names=["bkt1"])
# delete a bucket cross-origin resource sharing policy by bucket id
client.delete_buckets_cross_origin_resource_sharing_policies(bucket_ids=["28674514-e27d-48b3-ae81-d3d2e868f647"])
# delete a bucket cross-origin resource sharing policy by name
client.delete_buckets_cross_origin_resource_sharing_policies(names=["bkt1/cors-policy"])
get_buckets_cross_origin_resource_sharing_policies
# list bucket cross-origin resource sharing policy by bucket id
res = client.get_buckets_cross_origin_resource_sharing_policies(bucket_ids=["28674514-e27d-48b3-ae81-d3d2e868f647"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list bucket cross-origin resource sharing policy by bucket name
res = client.get_buckets_cross_origin_resource_sharing_policies(bucket_names=["bkt1"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list bucket cross-origin resource sharing policy by policy name
res = client.get_buckets_cross_origin_resource_sharing_policies(names=["bkt1/cors-policy"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, limit, offset, sort
# See section "Common Fields" for examples
post_buckets_cross_origin_resource_sharing_policies
from pypureclient.flashblade import CrossOriginResourceSharingPolicyPatch, CrossOriginResourceSharingPolicyRule
# create an empty cross-origin resource sharing policy
res = client.post_buckets_cross_origin_resource_sharing_policies(bucket_names=["bkt1"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# create a cross-origin resource sharing policy with the allow all rule
rule = CrossOriginResourceSharingPolicyRule(
name="myrule",
allowed_headers=["*"],
allowed_methods=["GET","PUT","HEAD","POST","DELETE"],
allowed_origins=["*"]
)
policy = CrossOriginResourceSharingPolicyPatch(
rules=[rule]
)
# post with bucket name
res = client.post_buckets_cross_origin_resource_sharing_policies(bucket_names=["bkt1"], policy=policy)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# post with bucket ID
res = client.post_buckets_cross_origin_resource_sharing_policies(bucket_ids=["28674514-e27d-48b3-ae81-d3d2e868f647"], policy=policy)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
delete_buckets_cross_origin_resource_sharing_policies_rules
# delete a bucket cross-origin resource sharing policy rule by bucket name
client.delete_buckets_cross_origin_resource_sharing_policies_rules(bucket_names=["bkt1"], names=["myrule"])
# delete a bucket cross-origin resource sharing policy rule by bucket id
client.delete_buckets_cross_origin_resource_sharing_policies_rules(bucket_ids=["28674514-e27d-48b3-ae81-d3d2e868f647"], names=["myrule"])
# delete a bucket cross-origin resource sharing policy rule by policy name
client.delete_buckets_cross_origin_resource_sharing_policies_rules(policy_names=["bkt1/cors-policy"], names=["myrule"])
get_buckets_cross_origin_resource_sharing_policies_rules
# list all bucket cross-origin resource sharing policy rules by bucket id
res = client.get_buckets_cross_origin_resource_sharing_policies_rules(bucket_ids=["28674514-e27d-48b3-ae81-d3d2e868f647"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all bucket cross-origin resource sharing policy rules by bucket name
res = client.get_buckets_cross_origin_resource_sharing_policies_rules(bucket_names=["bkt1"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all bucket cross-origin resource sharing policy rules by policy name
res = client.get_buckets_cross_origin_resource_sharing_policies_rules(policy_names=["bkt1/cors-policy"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list specific bucket cross-origin resource sharing policy rule
res = client.get_buckets_cross_origin_resource_sharing_policies_rules(policy_names=["bkt1/cors-policy"], names=["myrule"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, limit, offset, sort
# See section "Common Fields" for examples
post_buckets_cross_origin_resource_sharing_policies_rules
from pypureclient.flashblade import CrossOriginResourceSharingPolicyRulePost
# create an allow all rule
rule = CrossOriginResourceSharingPolicyRulePost(
allowed_headers=["*"],
allowed_methods=["GET","PUT","HEAD","POST","DELETE"],
allowed_origins=["*"]
)
# create by policy name
res = client.post_buckets_cross_origin_resource_sharing_policies_rules(policy_names=["bkt1/cors-policy"], names=["myrule"], rule=rule)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# create by bucket name
res = client.post_buckets_cross_origin_resource_sharing_policies_rules(bucket_names=["bkt1"], names=["myrule"], rule=rule)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# create by bucket id
res = client.post_buckets_cross_origin_resource_sharing_policies_rules(bucket_ids=["28674514-e27d-48b3-ae81-d3d2e868f647"], names=["myrule"], rule=rule)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
delete_buckets
# delete the bucket object mybucket on the array
client.delete_buckets(names=["mybucket"])
# Other valid fields: ids
# See section "Common Fields" for examples
get_buckets
# list all buckets
res = client.get_buckets()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all destroyed buckets
res = client.get_buckets(destroyed=True)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list and sort by unique in descendant order
res = client.get_buckets(limit=5, sort="space.unique-")
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list with page size 5
res = client.get_buckets(limit=5)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all remaining object store accounts
res = client.get_buckets(continuation_token=res.continuation_token)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list with filter
res = client.get_buckets(filter='name=\'mybucket*\'')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids, names, offset, total_only
# See section "Common Fields" for examples
patch_buckets
from pypureclient.flashblade import Bucket, ObjectLockConfigRequestBody, PublicAccessConfig, BucketEradicationConfig
# Destroy the bucket named "mybucket", and also suspend versioning
res = client.patch_buckets(names=["mybucket"],
bucket=Bucket(destroyed=True, versioning="suspended"))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Recover the bucket "mybucket", and also enable versioning
res = client.patch_buckets(names=["mybucket"],
bucket=Bucket(destroyed=False, versioning="enabled"))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Update the quota settings for "mybucket". Enable a hard limit (i.e. enforced)
# quota of 10G for this bucket.
res = client.patch_buckets(names=["mybucket"],
bucket=Bucket(quota_limit=str(10*1024*1024*1024),
hard_limit_enabled=True))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Reduce the hard limit quota for "mybucket" to 1G while ignoring its current usage (i.e.
# the operation should not fail due to the bucket's size currently being greater than 1G)
res = client.patch_buckets(names=["mybucket"],
bucket=Bucket(quota_limit=str(1*1024*1024*1024)),
ignore_usage=True)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Clear the quota limit for "mybucket"
res = client.patch_buckets(names=["mybucket"],
bucket=Bucket(quota_limit='',))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Enable object lock for "mybucket"
res = client.patch_buckets(names=["mybucket"],
bucket=Bucket(object_lock_config=ObjectLockConfigRequestBody(enabled=True)))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Change default retention to 1 day and default retention mode to "compliance" for "mybucket".
res = client.patch_buckets(names=["mybucket"],
bucket=Bucket(object_lock_config=ObjectLockConfigRequestBody(
default_retention=86400000, # 1 day in ms
default_retention_mode="compliance")))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Change retention lock to "ratcheted" to prevent the level of locked objects protection
# from being decreased and to disable manual eradication of the bucket for "mybucket".
res = client.patch_buckets(names=["mybucket"],
bucket=Bucket(retention_lock="ratcheted"))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Freeze locked objects to prevent object overwrite after object lock is enabled for "mybucket".
res = client.patch_buckets(names=["mybucket2"],
bucket=Bucket(object_lock_config=ObjectLockConfigRequestBody(freeze_locked_objects=True)))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Disable block new public policies for "mybucket".
res = client.patch_buckets(names=["mybucket"],
bucket=Bucket(public_access_config=PublicAccessConfig(block_new_public_policies=False)))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Disable block public access for "mybucket".
res = client.patch_buckets(names=["mybucket"],
bucket=Bucket(public_access_config=PublicAccessConfig(block_public_access=False)))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Block new public policies and public access for "mybucket".
res = client.patch_buckets(names=["mybucket"],
bucket=Bucket(public_access_config=PublicAccessConfig(
block_new_public_policies=True,
block_public_access=True)))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Change eradication mode to "retention-based" to prevent eradication of the bucket
# as long as there areany objects are protected with object lock of the bucket for "mybucket".
res = client.patch_buckets(names=["mybucket"],
bucket=Bucket(
eradication_config=
BucketEradicationConfig(eradication_mode="retention-based")))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids
# See section "Common Fields" for examples
get_buckets_performance
# list instantaneous performance for all buckets
res = client.get_buckets_performance()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list instantaneous performance for buckets 'bucket1' and 'bucket2'
res = client.get_buckets_performance(names=['bucket1', 'bucket2'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list historical buckets performance for all buckets between some
# start time and end time
res = client.get_buckets_performance(
start_time=START_TIME,
end_time=END_TIME,
resolution=30000)
# list historical buckets performance for buckets 'bucket1' and 'bucket2' between some
# start time and end time
res = client.get_buckets_performance(
start_time=START_TIME,
end_time=END_TIME,
resolution=30000,
names=['bucket1', 'bucket2'])
# total instantaneous performance across 2 buckets
res = client.get_buckets_performance(names=['bucket1', 'bucket2'], total_only=True)
print(res)
# Other valid fields: continuation_token, filter, ids, limit, offset, sort
# See section "Common Fields" for examples
post_buckets
from pypureclient.flashblade import BucketPost, Reference, ObjectLockConfigRequestBody, BucketEradicationConfig
# Create the bucket "mybucket" under the account named "myaccount"
attr = BucketPost()
attr.account = Reference(name='myaccount')
res = client.post_buckets(names=["mybucket"], bucket=attr)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Make another bucket in "myaccount" with id '10314f42-020d-7080-8013-000ddt400090'. Provide an
# initial hard limit (i.e. enforced) quota configuration of 5G.
attr = BucketPost(account=Reference(id='10314f42-020d-7080-8013-000ddt400090'),
quota_limit=str(5 * 1024 * 1024),
hard_limit_enabled=True)
res = client.post_buckets(names=["mybucket2"], bucket=attr)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Create the bucket "mybucket3" under the account named "myaccount". Freeze locked objects
# to prevent object overwrite after object lock is enabled.
attr = BucketPost()
attr.account = Reference(name='myaccount')
attr.object_lock_config = ObjectLockConfigRequestBody(freeze_locked_objects=True)
res = client.post_buckets(names=["mybucket3"], bucket=attr)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Create the bucket "mybucket4" under the account named "myaccount". Freeze locked objects
# to prevent object overwrite, and enable object-lock.
attr = BucketPost()
attr.account = Reference(name='myaccount')
attr.object_lock_config = ObjectLockConfigRequestBody(
enabled=True,
freeze_locked_objects=True)
res = client.post_buckets(names=["mybucket4"], bucket=attr)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Create the bucket "mybucket5" under the account named "myaccount". Freeze locked objects
# to prevent object overwrite. By default, users will be able to use object lock for new objects
# in "mybucket5" with a retention period of 1 day, and "compliance" retention mode. Furthermore,
# the bucket will have a "ratcheted" retention lock to prevent the level of bucket protection
# from being decreased and to disable manual eradication of the bucket.
attr = BucketPost()
attr.account = Reference(name='myaccount')
attr.object_lock_config = ObjectLockConfigRequestBody(
enabled=True,
freeze_locked_objects=True,
default_retention=86400000, # 1 day in ms
default_retention_mode="compliance")
attr.retention_lock = "ratcheted"
res = client.post_buckets(names=["mybucket5"], bucket=attr)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Create the bucket "mybucket6" under the account named "myaccount" and
# override the bucket_type, which is 'multi-site-writable' by default.
attr = BucketPost()
attr.bucket_type = 'classic'
attr.account = Reference(name='myaccount')
res = client.post_buckets(names=["mybucket6"], bucket=attr)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Create the bucket "mybucket" under the account named "myaccount". Freeze locked objects
# to prevent object overwrite. By default, users will be able to use object lock for new objects
# in "mybucket" with a retention period of 1 day, and "compliance" retention mode. Furthermore,
# the bucket will have eradication mode set to "retention-based" to prevent eradication of the bucket
# as long as there are any objects are protected with object lock of the bucket for "mybucket".
attr = BucketPost()
attr.account = Reference(name='myaccount')
attr.object_lock_config = ObjectLockConfigRequestBody(
enabled=True,
freeze_locked_objects=True,
default_retention=86400000, # 1 day in ms
default_retention_mode="compliance")
attr.eradication_config = BucketEradicationConfig(eradication_mode="retention-based")
res = client.post_buckets(names=["mybucket"], bucket=attr)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
get_buckets_s3_specific_performance
# list instantaneous s3 performance for all buckets
res = client.get_buckets_s3_specific_performance()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list instantaneous s3 performance for buckets 'bucket1' and 'bucket2'
res = client.get_buckets_s3_specific_performance(names=['bucket1', 'bucket2'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list historical buckets s3 performance for all buckets between some
# start time and end time
res = client.get_buckets_s3_specific_performance(
start_time=START_TIME,
end_time=END_TIME,
resolution=30000)
# list historical buckets s3 performance for buckets 'bucket1' and 'bucket2' between some
# start time and end time
res = client.get_buckets_s3_specific_performance(
start_time=START_TIME,
end_time=END_TIME,
resolution=30000,
names=['bucket1', 'bucket2'])
# total instantaneous s3 performance across 2 buckets
res = client.get_buckets_s3_specific_performance(names=['bucket1', 'bucket2'], total_only=True)
print(res)
# Other valid fields: continuation_token, filter, ids, limit, offset, sort
# See section "Common Fields" for examples
Certificategroupsap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
delete_certificate_groups_certificates
# remove 'posix-cert' from the 'all-trusted-certs' group
all_trusted_group = 'all-trusted-certs'
posix_cert = 'posix-cert'
client.delete_certificate_groups_certificates(certificate_names=[posix_cert],
certificate_group_names=[all_trusted_group])
# remove both 'ad-cert-2' and 'ad-cert-1' from both the 'all-trusted-certs' group and the
# 'all-ad-certs' group
ad_cert1 = 'ad-cert-1'
ad_cert2 = 'ad-cert-2'
all_ad_group = 'all-ad-certs'
client.delete_certificate_groups_certificates(certificate_names=[ad_cert1, ad_cert2],
certificate_group_names=[all_trusted_group, all_ad_group])
# Other valid fields: certificate_ids, certificate_group_ids
# See section "Common Fields" for examples
get_certificate_groups_certificates
# list all membership objects for certificate groups and the certificates that belong to
# them
res = client.get_certificate_groups_certificates()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list the membership objects to see what certificates are contained within groups
# 'all-trusted-certs' and 'all-ad-certs' belong to, if any
res = client.get_certificate_groups_certificates(certificate_group_names=['all-trusted-certs',
'all-ad-certs'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, certificate_ids, certificate_group_ids,
# certificate_names, filter, limit, offset, sort
# See section "Common Fields" for examples
post_certificate_groups_certificates
# add 'posix-cert' to the 'all-trusted-certs' group
all_trusted_group = 'all-trusted-certs'
posix_cert = 'posix-cert'
res = client.post_certificate_groups_certificates(certificate_names=[posix_cert],
certificate_group_names=[all_trusted_group])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# add both 'ad-cert-2' and 'ad-cert-1' to both the 'all-trusted-certs' group and the
# 'all-ad-certs' group
ad_cert1 = 'ad-cert-1'
ad_cert2 = 'ad-cert-2'
all_ad_group = 'all-ad-certs'
res = client.post_certificate_groups_certificates(certificate_names=[ad_cert1, ad_cert2],
certificate_group_names=[all_trusted_group, all_ad_group])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: certificate_ids, certificate_group_ids
# See section "Common Fields" for examples
delete_certificate_groups
# delete our group for active directory certificates
group_for_active_directory_certs = 'all-ad-certs'
client.delete_certificate_groups(names=[group_for_active_directory_certs])
# Other valid fields: ids
# See section "Common Fields" for examples
get_certificate_groups
# list all certificate groups
res = client.get_certificate_groups()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list the certificate groups named "all-trusted-certs" and "all-ad-certs"
res = client.get_certificate_groups(names=['all-trusted-certs',
'all-ad-certs'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, ids, limit, offset, sort
# See section "Common Fields" for examples
post_certificate_groups
# create groups to use for all certificates, as well as for all AD certificates
group_for_all_certs = 'all-trusted-certs'
group_for_active_directory_certs = 'all-ad-certs'
res = client.post_certificate_groups(names=[group_for_all_certs,
group_for_active_directory_certs])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
get_certificate_groups_uses
# list the uses of all certificate groups
res = client.get_certificate_groups_uses()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list the uses of certificate groups named "all-trusted-certs" and "all-ad-certs"
res = client.get_certificate_groups_uses(names=['all-trusted-certs',
'all-ad-certs'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, ids, limit, offset, sort
# See section "Common Fields" for examples
Certificatesap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
delete_certificates_certificate_groups
# remove 'posix-cert' from the 'all-trusted-certs' group
all_trusted_group = 'all-trusted-certs'
posix_cert = 'posix-cert'
client.delete_certificates_certificate_groups(certificate_names=[posix_cert],
certificate_group_names=[all_trusted_group])
# remove both 'ad-cert-2' and 'ad-cert-1' from both the 'all-trusted-certs' group and the
# 'all-ad-certs' group
ad_cert1 = 'ad-cert-1'
ad_cert2 = 'ad-cert-2'
all_ad_group = 'all-ad-certs'
client.delete_certificates_certificate_groups(certificate_names=[ad_cert1, ad_cert2],
certificate_group_names=[all_trusted_group, all_ad_group])
# Other valid fields: certificate_ids, certificate_group_ids
# See section "Common Fields" for examples
get_certificates_certificate_groups
# list all membership objects for certificate groups and the certificates that belong to them
res = client.get_certificates_certificate_groups()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list the membership objects to see what certificates are contained within groups
# 'all-trusted-certs' and 'all-ad-certs' belong to, if any
res = client.get_certificates_certificate_groups(certificate_group_names=['all-trusted-certs',
'all-ad-certs'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# List the membership objects to see certificate groups that contain certificate 'ad-cert-1', if any
res = client.get_certificates_certificate_groups(certificate_names=['ad-cert-1'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, certificate_ids, certificate_group_ids, filter,
# limit, offset, sort
# See section "Common Fields" for examples
post_certificates_certificate_groups
# add 'posix-cert' to the 'all-trusted-certs' group
all_trusted_group = 'all-trusted-certs'
posix_cert = 'posix-cert'
res = client.post_certificates_certificate_groups(certificate_names=[posix_cert],
certificate_group_names=[all_trusted_group])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# add both 'ad-cert-2' and 'ad-cert-1' to both the 'all-trusted-certs' group and the
# 'all-ad-certs' group
ad_cert1 = 'ad-cert-1'
ad_cert2 = 'ad-cert-2'
all_ad_group = 'all-ad-certs'
res = client.post_certificates_certificate_groups(certificate_names=[ad_cert1, ad_cert2],
certificate_group_names=[all_trusted_group, all_ad_group])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: certificate_ids, certificate_group_ids
# See section "Common Fields" for examples
delete_certificates
# delete our external certificate named "ad-cert-1"
client.delete_certificates(names=['ad-cert-1'])
# Other valid fields: ids
# See section "Common Fields" for examples
get_certificates
# list all certificates
res = client.get_certificates()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list certificates named "ad-cert-1" and "posix-cert"
res = client.get_certificates(names=['ad-cert-1', 'posix-cert'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, ids, limit, offset, sort
# See section "Common Fields" for examples
patch_certificates
from pypureclient.flashblade import CertificatePatch
# change our built-in certificate named "global", which is used by the REST server and S3
# to a new certificate issued by my internal CA
cert_name = 'global'
cert_text = '-----BEGIN CERTIFICATE-----\nMIIESzCCAzOgAwIBAgIJAIJMKJXXDn/JMA0GCSqGSIb3DQEBBQUAMHYxCzAJBgNV\nBAYTAlVTMQ0wCwYDVQQIEwR0ZXN0MQ4wDAYDVQQHEwV0ZXN0IDENMAsGA1UEChME\ndGVzdDENMAsGA1UECxMEdGVzdDEVMBMGA1UEAxMMUHVyZSBTdG9yYWdlMRMwEQYJ\nKoZIhvcNAQkBFgR0ZXN0MB4XDTE3MTEwNjIyMzYyMFoXDTE4MTEwNjIyMzYyMFow\ndjELMAkGA1UEBhMCVVMxDTALBgNVBAgTBHRlc3QxDjAMBgNVBAcTBXRlc3QgMQ0w\nCwYDVQQKEwR0ZXN0MQ0wCwYDVQQLEwR0ZXN0MRUwEwYDVQQDEwxQdXJlIFN0b3Jh\nZ2UxEzARBgkqhkiG9w0BCQEWBHRlc3QwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw\nggEKAoIBAQDcaGpPXJC1EC515wMEKyXEFuKFEDn4y1V5YmaLt+hXz8cfuA+gS3eD\nltP8PJah+7WrPouUQtfamHsuQtnFFLcVcdl83rIFX0m58zUiWbOUHI5wWnBYsqof\n52k/m40HM5XTATn5xpFsTSxm7vmlsKfGlQS7yI11HbD0OOz9CqT+iMFhTn/Wfyg2\nYOtmYIfCz0kt6wIFHlI9oPERwJ0JiMnPhsg0gerJwYl1j1vDhBiK32OVc4iIdOO4\nPVwpP1YbINr8LJ5qX2DOzBHDnaYrtJk9YEsSAwoqJ2/d29xA9JOeJwahl/M6aO48\nAbXbSlxVwOz0lEs85dseLp9dyTQb/uzjAgMBAAGjgdswgdgwHQYDVR0OBBYEFJJM\nML8khiOYzpaJP8sJCn0JSpx9MIGoBgNVHSMEgaAwgZ2AFJJMML8khiOYzpaJP8sJ\nCn0JSpx9oXqkeDB2MQswCQYDVQQGEwJVUzENMAsGA1UECBMEdGVzdDEOMAwGA1UE\nBxMFdGVzdCAxDTALBgNVBAoTBHRlc3QxDTALBgNVBAsTBHRlc3QxFTATBgNVBAMT\nDFB1cmUgU3RvcmFnZTETMBEGCSqGSIb3DQEJARYEdGVzdIIJAIJMKJXXDn/JMAwG\nA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBAKjQ/SFPra2YmtNynNukuHOl\nCryjsXjBkeiyyfg3Bt9+M+9F6Y4Sh3/SSJCb6LQaqTQkeJJeb1fOHNaFjAxkjvaI\n2tnlCwhpQuoSXNgQEMdidMi9+S8hBonlXYePYZUQbvAu1VAZrU6f0k2OEDcAPLvA\nhZLvrmZeug+VZp3JfVOdU+QnzUx2atBBfN5lMFFNdqOzZ5Yz/Ooi9CVA73szIevi\nE728OLimWQ91u1s16isjusK3+zoqirFC7PN6K63sp0gPAldgCQD2bywmwgaYDnzP\n+9ZWNy6ebn927Qh22YUPWhj+kiITkhxcVYPMx4QtRjJhs5pQVBqHOIDnJQJc7qY=\n-----END CERTIFICATE-----'
# use a private key that was encrypted with a passphrase
private_key = '-----BEGIN RSA PRIVATE KEY-----\nProc-Type: 4,ENCRYPTED\nDEK-Info: DES-EDE3-CBC,D6E1A92B08CB859F\n\nh+XvYwbbEIboztkR5/Gku7UsCnZtNI/ZYZru3jm/tRgjXR71PBgi9x1Rv5wyiDXA\n9F8xWyacRQgSqQCO2tc+rqoBTAd33wGo52k7BCuG2VJgbuzlZlC4vsyjKna1yGRw\nFHv+dHPWyTE/Cqcl0QQGjpqQmKbX6OXcUnDRp0IPzRf98A6DVZ/jbwuGl1JIkEme\nCuo4/5Hc4BMeHBYGtzbYZ83nFyrImhMQA+HzeULWSi0Ecx2vbafrlXVd0hI9E3c6\nsahuu6A9DSwEGWWW5x/ubq0i8mS94s7O4EjNoI8w6/yhd2edUTsTddJ2I+DJxOB1\nlBukWeph+/wAiCdVKuHW9A5xbPK0U24ipRh1vOG1ikeFR62gFktSnquOv4zpZL73\nSE7xWP1+FotaEgEL1hkHqfMfEnEL0/5oVyYVB9BZ2VaiystWvFk/mgLJiWGM0zx8\n5rA+0kqNTVYHhwElMUYMXILx3RMGVH+A0kKWvpl3BBuwDbQfgl0m1lLK6zZgtwVL\nkyctAjthTwC4KZorATa2CTBLq5cCSq1itoVueCYozuUPDMmCuC4Xf3dMEcYok+E5\nF4USqn7xcCqTu5ftqoiSt5bdJ7MOfL/KVXjQZAi/eUPaaREI27mqyfnVM6f2VcEp\nsQJnJg+zpcnBY0oICtGsakZWD0iE2ZA4FN177ogl8mlU4sY6XteHtPEFn8jjWuwW\ncylAo4jg/D6LPm+a7v1BYV41xLLQSFRvFGsyGON5CMg2vO9kjNnTDONNEchQ1C4A\nqIAIhjye+VD1F0L4McswRUQMISuWpbTND6HV2/DwXh9mDP2jVsttoJ3mjJrCeR1/\nTcMkN2C1isNUrRh+ReWtmanyhIorPLGX9TuDBef1r6caqVdGvDzjWaVUh6qTHsoY\nzt49SxXykIbZCdEbAQkoXfg8MuK+lxlGVEP/OS1uMXI8tVozBpepI8diFVznWpJo\nHVJCvcrOoIQr/B6kZX6mfqH5EJcnJPC4GUYwu+TRi03fmmKHi56xyWdrm/payoJH\n6ApOXeD4ViaFKkI6f69o5aADVZcmOWMqP6Yd8oxvl1Rn7ArR/RBcQwCMUZEA0dOs\ndu4S9hwTDlekT7unaVuXWmU9Js63DK82K3w+EjWUmYobX4tnM1nqJ4nBS8btt0kc\nBefHQP4gx72ytkJW4cVtFD/us0UBMTvODXDmBeZxlIJsNkU0EWyW+1kKBRpVhHGB\nofPRqYTk/m9yMzuDhutupW1uV+5g+lvpxXKQu4kSzJS6UVWZ33iz7yrvIOrJ3hxZ\nsJjWj+f0Bef/gym2JrGb1J756lPwBY4S/3/yiajbUvRvElOoVQB5XSH+th5N/hUJ\ntD2TJJsWnr/E6vwZjsYwK1hav/YcJi/YJdoXziZkKoYlf2WvwLAsvj9fNrpguwqV\npMJARiVwBDrWiB16GRdHxa0HwCJKB8Vpz9pDYQNdBseAhJzGmh5JaBiIbuVJaVwF\nZP+y2v/3Pa7wzAZTjD46V9EvADK6RW9If12OPHP4G2FvhdngxGbNjgZbEy0HUy4I\n6MRcPb3qaR5tnySoozrwW5IRYy7yZJ+UEg03nUi8eHKUL6anF5YzCg==\n-----END RSA PRIVATE KEY-----'
passphrase = 'example password'
create_body = CertificatePatch(certificate=cert_text, private_key=private_key, passphrase=passphrase)
res = client.patch_certificates(names=[cert_name], certificate=create_body)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids
# See section "Common Fields" for examples
post_certificates
from pypureclient.flashblade.FB_2_15 import CertificatePost
# create a new external certificate named "ad-cert-1"
cert_name = 'ad-cert-1'
cert_text = '-----BEGIN CERTIFICATE-----\nMIIESzCCAzOgAwIBAgIJAIJMKJXXDn/JMA0GCSqGSIb3DQEBBQUAMHYxCzAJBgNV\nBAYTAlVTMQ0wCwYDVQQIEwR0ZXN0MQ4wDAYDVQQHEwV0ZXN0IDENMAsGA1UEChME\ndGVzdDENMAsGA1UECxMEdGVzdDEVMBMGA1UEAxMMUHVyZSBTdG9yYWdlMRMwEQYJ\nKoZIhvcNAQkBFgR0ZXN0MB4XDTE3MTEwNjIyMzYyMFoXDTE4MTEwNjIyMzYyMFow\ndjELMAkGA1UEBhMCVVMxDTALBgNVBAgTBHRlc3QxDjAMBgNVBAcTBXRlc3QgMQ0w\nCwYDVQQKEwR0ZXN0MQ0wCwYDVQQLEwR0ZXN0MRUwEwYDVQQDEwxQdXJlIFN0b3Jh\nZ2UxEzARBgkqhkiG9w0BCQEWBHRlc3QwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw\nggEKAoIBAQDcaGpPXJC1EC515wMEKyXEFuKFEDn4y1V5YmaLt+hXz8cfuA+gS3eD\nltP8PJah+7WrPouUQtfamHsuQtnFFLcVcdl83rIFX0m58zUiWbOUHI5wWnBYsqof\n52k/m40HM5XTATn5xpFsTSxm7vmlsKfGlQS7yI11HbD0OOz9CqT+iMFhTn/Wfyg2\nYOtmYIfCz0kt6wIFHlI9oPERwJ0JiMnPhsg0gerJwYl1j1vDhBiK32OVc4iIdOO4\nPVwpP1YbINr8LJ5qX2DOzBHDnaYrtJk9YEsSAwoqJ2/d29xA9JOeJwahl/M6aO48\nAbXbSlxVwOz0lEs85dseLp9dyTQb/uzjAgMBAAGjgdswgdgwHQYDVR0OBBYEFJJM\nML8khiOYzpaJP8sJCn0JSpx9MIGoBgNVHSMEgaAwgZ2AFJJMML8khiOYzpaJP8sJ\nCn0JSpx9oXqkeDB2MQswCQYDVQQGEwJVUzENMAsGA1UECBMEdGVzdDEOMAwGA1UE\nBxMFdGVzdCAxDTALBgNVBAoTBHRlc3QxDTALBgNVBAsTBHRlc3QxFTATBgNVBAMT\nDFB1cmUgU3RvcmFnZTETMBEGCSqGSIb3DQEJARYEdGVzdIIJAIJMKJXXDn/JMAwG\nA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBAKjQ/SFPra2YmtNynNukuHOl\nCryjsXjBkeiyyfg3Bt9+M+9F6Y4Sh3/SSJCb6LQaqTQkeJJeb1fOHNaFjAxkjvaI\n2tnlCwhpQuoSXNgQEMdidMi9+S8hBonlXYePYZUQbvAu1VAZrU6f0k2OEDcAPLvA\nhZLvrmZeug+VZp3JfVOdU+QnzUx2atBBfN5lMFFNdqOzZ5Yz/Ooi9CVA73szIevi\nE728OLimWQ91u1s16isjusK3+zoqirFC7PN6K63sp0gPAldgCQD2bywmwgaYDnzP\n+9ZWNy6ebn927Qh22YUPWhj+kiITkhxcVYPMx4QtRjJhs5pQVBqHOIDnJQJc7qY=\n-----END CERTIFICATE-----'
cert_type = 'external'
create_body = CertificatePost(certificate=cert_text, certificate_type=cert_type)
res = client.post_certificates(names=[cert_name], certificate=create_body)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# create a new array certificate named "ad-cert-2"
cert_name = 'ad-cert-2'
cert_text = '-----BEGIN CERTIFICATE-----\nMIICNTCCAbsCCQCRnJR7HCsWbDAKBggqhkjOPQQDAjCBgjELMAkGA1UEBhMCVVMx\nEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDU1vdW50YWluIFZpZXcxFTAT\nBgNVBAoMDFB1cmUgU3RvcmFnZTEbMBkGA1UECwwSRmxhc2hCbGFkZSBUZXN0aW5n\nMRIwEAYDVQQDDAl0ZXN0LWVjLTIwIBcNMjExMjE1MjMzNzQyWhgPMjEyMTExMjEy\nMzM3NDJaMIGCMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQG\nA1UEBwwNTW91bnRhaW4gVmlldzEVMBMGA1UECgwMUHVyZSBTdG9yYWdlMRswGQYD\nVQQLDBJGbGFzaEJsYWRlIFRlc3RpbmcxEjAQBgNVBAMMCXRlc3QtZWMtMjB2MBAG\nByqGSM49AgEGBSuBBAAiA2IABAjj51tZhGmPS31wdIeBXFfbJ0UR+uw9/qX55ph+\n/bsaQHXYJ5iebbE3XkVugIKoRVywq9ql+DjRe0hFAPUZicPcikkIxuDiYclzm7ja\nN2StP9U6i2HS0gmufU4bRPBDhzAKBggqhkjOPQQDAgNoADBlAjBEOp4LxZxypvxd\n28QtBf8Kug/JuW+dMr3S2Z5Tenl0x7WZCoDxXGUyg8CF5V9T/hcCMQDiuY5ihnEG\nSA8PmcLPoc0tMnUVBIp0k8dyiq47BL8zabhuLc8RTvlYCpfNl4rtFSo=\n-----END CERTIFICATE-----\n'
private_key = '-----BEGIN ENCRYPTED PRIVATE KEY-----\nMIHgMBsGCSqGSIb3DQEFAzAOBAjU/e1D/TrYsgICCAAEgcBlj5k6GkoCr85PNj6y\npRalEktQQs0Y4VnVM9sRKe6FCwH2iMCU4t0KP7SrjNG+I5e41v7F968A2wyhn+7v\nY96zefS1VnumVFzLSNUVpv9eZM9MucaNXc3JJfa1XonsKg8MoRMofD3z7wUQqR6Y\nGUJZfl4ABNW9gbARnoKo4Wi4Vt6FLJjdgLTu3u1sYYB+JZg5EJNNCzwpyNi5rVK3\n-----END ENCRYPTED PRIVATE KEY-----\n'
private_key_password = 'testing-password'
cert_type = 'array'
create_body = CertificatePost(certificate=cert_text, private_key=private_key, passphrase=private_key_password, certificate_type=cert_type)
res = client.post_certificates(names=[cert_name], certificate=create_body)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
get_certificates_uses
# list the uses of all certificates
res = client.get_certificates_uses()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list the uses of certificates named "ad-cert-1" and "posix-cert"
res = client.get_certificates_uses(names=['ad-cert-1', 'posix-cert'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, ids, limit, offset, sort
# See section "Common Fields" for examples
Clientsap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
get_arrays_clients_performance
# list client performance for all clients
res = client.get_arrays_clients_performance()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list client performance for one specific array client
res = client.get_arrays_clients_performance(names=['123.123.123.123:8080'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: filter, limit, sort, total_only
# See section "Common Fields" for examples
Dnsap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
delete_dns
# delete the dns configuration object dns_to_delete on the array
client.delete_dns(names=["dns_to_delete"])
# Other valid fields: ids, references
# See section "Common Fields" for examples
get_dns
# list DNS configuration
res = client.get_dns()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Valid fields: continuation_token, filter, ids, limit, names, offset, sort
# See section "Common Fields" for examples
patch_dns
from pypureclient.flashblade import Dns
# update domain
res = client.patch_dns(dns=Dns(domain='new_domain'))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# update nameservers
res = client.patch_dns(dns=Dns(nameservers=['126.24.5.1', '126.24.5.2']))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# empty nameservers
res = client.patch_dns(dns=Dns(nameservers=[]))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: names, ids
# See section "Common Fields" for examples
post_dns
from pypureclient.flashblade import DnsPost, Reference
# post the dns configuration object mydns on the array
attr = DnsPost(domain="example-domain.com", nameservers=['126.24.5.1', '126.24.5.2'])
res = client.post_dns(names=["mydns"], dns=attr)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: references
# See section "Common Fields" for examples
Directoryservicesap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
get_directory_services
# list Directory Services configuration
res = client.get_directory_services(names=["nfs"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, ids, limit, offset, sort
# See section "Common Fields" for examples
patch_directory_services
from pypureclient.flashblade import DirectoryService
# update Directory Services smb configuration to specify a join OU in an LDAP server
name = 'smb'
URI = 'ldaps://ad1.mycompany.com'
BASE_DN = 'DC=mycompany,DC=com'
BIND_USER = 'CN=John,OU=Users,DC=mycompany,DC=com'
BIND_PW = 'johnldappassword'
SMB_JOIN_OU = 'OU=PureStorage,OU=StorageArrays,OU=ServiceMachines'
SMB_ATTRS = {'join_ou': SMB_JOIN_OU}
directory_service = DirectoryService(base_dn=BASE_DN, bind_password=BIND_PW, bind_user=BIND_USER, uris=[URI],
enabled=True, smb=SMB_ATTRS)
res = client.patch_directory_services(names=[name], directory_service=directory_service)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# update Directory Services nfs configuration to use an NIS configuration
name = 'nfs'
MASTER_SERVER_HOSTNAME = 'nis.master.server.example.com'
BACKUP_SERVER_HOSTNAME = 'nis.backup.server.example.com'
BACKUP_SERVER_IP = '188.123.4.43'
nis_servers = [MASTER_SERVER_HOSTNAME, BACKUP_SERVER_IP, BACKUP_SERVER_HOSTNAME]
NIS_DOMAIN = 'my-nis-domain'
NFS_ATTRS = {'nis_domains': [NIS_DOMAIN], 'nis_servers': nis_servers}
# the only fields needed in order to enable the nfs directory service when configuring
# NIS are an NIS domain and NIS servers
directory_service = DirectoryService(enabled=True, nfs=NFS_ATTRS)
res = client.patch_directory_services(names=[name],
directory_service=directory_service)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# update the management directory service to use an Oracle Unified Directory server,
# specifying our user object class as "inetOrgPerson" and our login attribute as
# "givenName"
name = 'management'
OUD_URI = 'ldap://my-oud-leader.example.com'
OUD_BASE_DN = 'DC=example,DC=com'
OUD_BIND_USER = 'CN=ServiceAcct,OU=Users,DC=example,DC=com'
OUD_BIND_PW = 'something-absurdly-complex'
USER_LOGIN_ATTR = 'givenName'
USER_OBJ_CLASS = 'inetOrgPerson'
MGMT_ATTRS = {'user_login_attribute': USER_LOGIN_ATTR,
'user_object_class': USER_OBJ_CLASS}
directory_service = DirectoryService(base_dn=OUD_BASE_DN, bind_password=OUD_BIND_PW,
bind_user=OUD_BIND_USER, uris=[OUD_URI],
enabled=True, management=MGMT_ATTRS)
res = client.patch_directory_services(names=[name],
directory_service=directory_service)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids
# See section "Common Fields" for examples
delete_directory_services_roles
# delete Directory Services role configuration
client.delete_directory_services_roles(names=['some-role-name'])
# Other valid fields: ids
# See section "Common Fields" for examples
get_directory_services_roles
# list Directory Services Roles configuration
res = client.get_directory_services_roles()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list settings configuration for a specific role
ROLE_NAME = 'array_admin'
res = client.get_directory_services_roles(role_names=[ROLE_NAME])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, ids, filter, limit, offset, role_ids, sort, names
# See section "Common Fields" for examples
patch_directory_services_roles
from pypureclient.flashblade.FB_2_14 import DirectoryServiceRole, ReferenceWritable
# update Directory Services role configuration
ARRAY_ADMIN_GRP = 'admins'
GROUP_BASE = 'ou=purestorage,ou=us'
CONFIG_NAME = 'example-role-mapping'
NEW_ROLE_NAME = 'array_admin'
role_reference = ReferenceWritable(name=NEW_ROLE_NAME)
directory_service_role = DirectoryServiceRole(group_base=GROUP_BASE, group=ARRAY_ADMIN_GRP, role=role_reference)
res = client.patch_directory_services_roles(names=[CONFIG_NAME],
directory_service_roles=directory_service_role)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: role_ids, ids, role_names
# See section "Common Fields" for examples
post_directory_services_roles
from pypureclient.flashblade.FB_2_14 import DirectoryServiceRole
# create Directory Services role configuration
ARRAY_ADMIN_GRP = 'admins'
GROUP_BASE = 'ou=purestorage,ou=us'
ROLE_NAME = 'array_admin'
directory_service_role = DirectoryServiceRole(role={"name": ROLE_NAME}, group_base=GROUP_BASE, group=ARRAY_ADMIN_GRP)
res = client.post_directory_services_roles(names=['some-role-name'],
directory_service_roles=directory_service_role)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
get_directory_services_test
# test the nfs directory service configuration that exists already
res = client.get_directory_services_test(names=['nfs'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: filter, ids, limit, sort
# See section "Common Fields" for examples
patch_directory_services_test
from pypureclient.flashblade import DirectoryService, Reference
# test the existing nfs directory service configuration, but using a different certificate
# and bind user
test_bind_user = 'CN=differentUser,CN=Users,DC=example,DC=com'
test_certificate_name = 'nfs-server-certificate'
cert_reference = Reference(name=test_certificate_name)
test_ds_config = DirectoryService(bind_user=test_bind_user, ca_certificate=cert_reference)
res = client.patch_directory_services_test(names=['nfs'],
directory_service=test_ds_config)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids, filter, sort
# See section "Common Fields" for examples
Drivesap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
get_drives
# list all drives
res = client.get_drives()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list a subset of drives by name
res = client.get_drives(names=['CH1.FB1.BAY3', 'CH1.FB2.BAY1'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list a subset of drives by id
res = client.get_drives(ids=['f9330b89-fb7c-cc8a-07b7-bfb086873982',
'a1f9faf6-18b5-7c9d-d816-6df3d2db6dca'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all healthy drives
res = client.get_drives(filter='status=\'healthy\'')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, limit, offset, sort, total_only
# See section "Common Fields" for examples
Filesystemexportsap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
delete_file_system_exports
# delete export by name
res = client.delete_file_system_exports(names=['_array_server::SMB::fs1'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# delete exports by ids
res = client.delete_file_system_exports(ids=['10314f42-020d-7080-8013-000ddt400013'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
get_file_system_exports
# get all file system exports
res = client.get_file_system_exports()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# get exports by name
res = client.get_file_system_exports(names=['_array_server::SMB::fs1',
'_array_server::NFS::fs1'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# get exports by ids
res = client.get_file_system_exports(ids=['10314f42-020d-7080-8013-000ddt400013',
'10314f42-020d-7080-8013-000ddt400014'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: filter, limit, offset, sort, continuation_token
# See section "Common Fields" for examples
patch_file_system_exports
from pypureclient.flashblade.FB_2_16 import FileSystemExport, Reference
# update an existing smb export
my_updated_smb_export = FileSystemExport(export_name="new_smb_export_name",
policy=Reference(name="new_smb_client_pol"),
share_policy=Reference(name="new_smb_share_pol"))
res = client.patch_file_system_exports(names=["_array_server::SMB::old_smb_export_name"],
file_system_export=my_updated_smb_export)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# update an existing nfs export
my_updated_nfs_export = FileSystemExport(export_name="new_nfs_export_name",
policy=Reference(name="new_nfs_export_pol"))
res = client.patch_file_system_exports(ids=["cb096ae0-a2c3-acd3-8375-13a7bbd397c2"],
file_system_export=my_updated_nfs_export)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
post_file_system_exports
from pypureclient.flashblade import FileSystemExportPost, Reference
# example 1
# create smb and nfs exports for an existing file system 'my_fs' on the server 'my_server'
my_exports = FileSystemExportPost(export_name="my_export",
server=Reference(name="my_server"),
share_policy=Reference(name="smb_share_policy_1"))
res = client.post_file_system_exports(member_names=["my_fs"],
policy_names=["nfs_export_policy_1", "smb_client_policy_1"],
file_system_export=my_exports)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# example 2
# create only nfs export for an existing file system 'my_fs' on the server 'my_server'
my_nfs_export = FileSystemExportPost(export_name="my_nfs_export",
server=Reference(name="my_server"))
res = client.post_file_system_exports(member_names=["my_fs"],
policy_names=["nfs_export_policy_1"],
file_system_export=my_nfs_export)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# example 3
# create only smb export for an existing file system 'my_fs' on the server 'my_server'
my_smb_export = FileSystemExportPost(export_name="my_export",
server=Reference(name="my_server"),
share_policy=Reference(name="smb_share_policy_1"))
res = client.post_file_system_exports(member_ids=["bfba6e16-963b-d0b4-f597-9f98916f370c"],
policy_ids=["cb096ae0-a2c3-acd3-8375-13a7bbd397c2"],
file_system_export=my_smb_export)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
Filesystemreplicalinksap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
delete_file_system_replica_links
# delete replica link defined by local file system 'local_fs', remote array 'my_remote' and
# optionally remote file system 'remote_fs'
res = client.delete_file_system_replica_links(local_file_system_names=['local_fs'],
remote_file_system_names=['remote_fs'],
remote_names=['my_remote'],
cancel_in_progress_transfers=True)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# delete replica link defined by id
res = client.delete_file_system_replica_links(ids=['10314f42-020d-7080-8013-000ddt400092'],
cancel_in_progress_transfers=True)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: local_file_system_ids, remote_ids, remote_file_system_ids
# See section "Common Fields" for examples
get_file_system_replica_links
# list all replica links
res = client.get_file_system_replica_links()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list first five replica links and sort by local file system
res = client.get_file_system_replica_links(limit=5, sort='local_file_system.name')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list remaining replica links
res = client.get_file_system_replica_links(continuation_token = res.continuation_token)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list replica links on the remote
res = client.get_file_system_replica_links(remote_names=['myremote'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list with filter to see only replica links that are paused
res = client.get_file_system_replica_links(filter='paused')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids, local_file_system_ids, local_file_system_names, offset,
# remote_file_system_ids, remote_file_system_names, remote_ids
# See section "Common Fields" for examples
delete_file_system_replica_links_policies
client.delete_file_system_replica_links_policies(
policy_names=['policy_1'],
local_file_system_names=['local_fs'],
remote_names=['myremote'])
# Other valid fields: local_file_system_ids, member_ids, policy_ids, remote_ids
# See section "Common Fields" for examples
get_file_system_replica_links_policies
# list all replica link and policy connections
res = client.get_file_system_replica_links_policies()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list first five replica link and policy connections and sort by local file system
res = client.get_file_system_replica_links_policies(limit=5, sort='member.name')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list remaining replica link and policies
res = client.get_file_system_replica_links_policies(
continuation_token=res.continuation_token)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list a specific replica link and policy connection
res = client.get_file_system_replica_links_policies(
policy_names=['policy_1'],
local_file_system_names=['local_fs'],
remote_names=['myremote'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: filter, local_file_system_ids,
# member_ids, offset, policy_ids, remote_ids, remote_file_system_ids,
# remote_file_system_names
# See section "Common Fields" for examples
post_file_system_replica_links_policies
res = client.post_file_system_replica_links_policies(
policy_names=['policy_1'],
local_file_system_names=['local_fs'],
remote_names=['myremote'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: policy_ids, local_file_system_ids, remote_ids, member_ids
# See section "Common Fields" for examples
post_file_system_replica_links
from pypureclient.flashblade import FileSystemReplicaLink, LocationReference
res = client.post_file_system_replica_links(
local_file_system_names=["local_fs"],
remote_file_system_names=["remote_fs"],
remote_names=['myremote'],
file_system_replica_link=FileSystemReplicaLink(policies=[LocationReference(name=POLICY_NAME)]))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids, local_file_system_ids, remote_ids
# See section "Common Fields" for examples
get_file_system_replica_links_transfer
FS_NAME = 'local_file'
# list all incoming or outgoing replica link transfers for filesystem local_file
res = client.get_file_system_replica_links_transfer(names_or_owner_names=[FS_NAME])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, ids, limit, offset, remote_ids, remote_names, sort, total_only
# See section "Common Fields" for examples
Filesystemsnapshotsap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
delete_file_system_snapshots
# eradicate a destroyed file system snapshot named myfs.mysnap
client.delete_file_system_snapshots(names=["myfs.mysnap"])
# Other valid fields: ids
# See section "Common Fields" for examples
get_file_system_snapshots
# list all file system snapshots
res = client.get_file_system_snapshots()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all destroyed file system snapshots
res = client.get_file_system_snapshots(destroyed=True)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all file system snapshots with owning filesystem 'myfs'
res = client.get_file_system_snapshots(names_or_owner_names='myfs')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list with page size 5, and sort by source file system name
res = client.get_file_system_snapshots(limit=5, sort="source.name")
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all remaining file system snapshots
res = client.get_file_system_snapshots(continuation_token=res.continuation_token)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list with filter
res = client.get_file_system_snapshots(filter='source.name=\'myfs*\' and contains(suffix, \'1\')')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids, offset, owner_ids, total_only
# See section "Common Fields" for examples
patch_file_system_snapshots
from pypureclient.flashblade import FileSystemSnapshot
# Destroy an existing snapshot
new_attr = FileSystemSnapshot(destroyed=True)
# Update the file system snapshot myfs.mysnap with our new attributes, in this case destroying it
res = client.patch_file_system_snapshots(names=["myfs.mysnap"], file_system_snapshot=new_attr)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# destroying the latest replicated snapshot should specify "latest_replica=True"
res = client.patch_file_system_snapshots(names=["myfs.mysnap"],
latest_replica=True,
file_system_snapshot=new_attr)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids
# See section "Common Fields" for examples
delete_file_system_snapshots_policies
# remove policy with id from a file system snapshot named myfs.2
client.delete_file_system_snapshots_policies(policy_ids=["10314f42-020d-7080-8013-000ddt400090"],
member_names=["myfs.2"])
# Other valid fields: policy_names, member_ids
# See section "Common Fields" for examples
get_file_system_snapshots_policies
# list all policies
res = client.get_file_system_snapshots_policies()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# assume we have a policy named "p1", and a file system snapshot named "myfs.1"
res = client.get_file_system_snapshots_policies(policy_names=["p1"],
member_names=["myfs.1"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list and sort by name in descendant order
res = client.get_file_system_snapshots_policies(limit=5, sort="policy.name-")
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, member_ids, policy_ids, offset
# See section "Common Fields" for examples
post_file_system_snapshots
from pypureclient.flashblade import FileSystemSnapshotPost
# create a snapshot for the file system named myfs
res = client.post_file_system_snapshots(source_names=["myfs"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# create a snapshot with suffix mysnap for the file system named myfs
res = client.post_file_system_snapshots(source_names=["myfs"],
file_system_snapshot=FileSystemSnapshotPost("mysnap"))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# create a snapshot with suffix mysnap for the file system named myfs
res = client.post_file_system_snapshots(source_names=["myfs"],
send=True,
targets=["myremote"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: source_ids
# See section "Common Fields" for examples
delete_file_system_snapshots_transfer
# eradicate a destroyed file system snapshot named myfs.mysnap
client.delete_file_system_snapshots_transfer(names=["myfs.mysnap"],
remote_names=["myremote"])
# Other valid fields: ids, remote_ids
# See section "Common Fields" for examples
get_file_system_snapshots_transfer
# list all file systems
res = client.get_file_system_snapshots_transfer()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list snapshot transfers for snapshots with name myfs.mysnap
res = client.get_file_system_snapshots_transfer(names_or_owner_names=["myfs.mysnap"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, ids, limit, offset, sort, total_only
# See section "Common Fields" for examples
Filesystemsap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
delete_file_systems_audit_policies
# detach an audit policy from a file system
# assume we have a policy named "p1", and a file system named "myfs"
client.delete_file_systems_audit_policies(policy_names=["p1"], member_names=["myfs"])
# Other valid fields: policy_ids, member_ids
# See section "Common Fields" for examples
get_file_systems_audit_policies
# list all policies
res = client.get_file_systems_audit_policies()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# assume we have a policy named "p1", and a file system named "myfs"
res = client.get_file_systems_audit_policies(policy_names=["p1"],
member_names=["myfs"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list and sort by name in descendant order
res = client.get_file_systems_audit_policies(limit=5, sort="policy.name-")
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list with page size 5
res = client.get_file_systems_audit_policies(limit=5)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all remaining policies
res = client.get_file_systems_audit_policies(continuation_token=res.continuation_token)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: filter, member_ids, offset, policy_ids
# See section "Common Fields" for examples
post_file_systems_audit_policies
# attach an audit policy to a file system
# assume we have a policy named "audit_policy_1", and a file system with id
# "100abf42-0000-4000-8023-000det400090"
res = client.post_file_systems_audit_policies(policy_names=["audit_policy_1"],
member_ids=["100abf42-0000-4000-8023-000det400090"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: policy_ids, member_names
# See section "Common Fields" for examples
delete_file_systems
# eradicate a destroyed file system with name myfs
client.delete_file_systems(names=["myfs"])
# Other valid fields: ids
# See section "Common Fields" for examples
get_file_systems
# list all file systems
res = client.get_file_systems()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all destroyed file systems
res = client.get_file_systems(destroyed=True)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list first five filesystems using default sort
res = client.get_file_systems(limit=5)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list first five filesystems and sort by provisioned in descendant order
res = client.get_file_systems(limit=5, sort="provisioned-")
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all remaining file systems
res = client.get_file_systems(continuation_token=res.continuation_token)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list with filter to see only file systems with at least one type of nfs enabled
res = client.get_file_systems(filter='nfs.v3_enabled or nfs.v4_1_enabled')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids, names, offset, sort, total_only
# See section "Common Fields" for examples
get_file_systems_groups_performance
# list performance for all groups
res = client.get_file_systems_groups_performance(file_system_names=["fs1"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list performance for one group
res = client.get_file_systems_groups_performance(file_system_names=["fs1"],
gids=[100])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list performance for one group by filesystem id
res = client.get_file_systems_groups_performance(file_system_ids=["10314f42-020d-7080-8013-000ddt400090"],
group_names=["group1"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list performance by name
res = client.get_file_systems_groups_performance(names=["fs1/100"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: filter, limit, sort, total_only
# See section "Common Fields" for examples
get_file_systems_locks_clients
# Get all the clients (limit the result to 1000) who have acquired file locks
res = client.get_file_systems_locks_clients(limit=1000)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: filter, continuation_token
# See section "Common Fields" for examples
delete_file_systems_locks
# Delete all locks created by a specified client IP
res = client.delete_file_systems_locks(client_names='1.1.1.1')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Delete a single lock by name
res = client.delete_file_systems_locks(names='3-NFSv3-0-1024')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Delete all locks for a specific file
res = client.delete_file_systems_locks(file_system_names='root', paths='/dir/file')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Delete all locks for files (recursively) within a specified folder
res = client.delete_file_systems_locks(file_system_names='root', paths='/dir',
recursive=True)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: file_system_ids, inodes, references
# See section "Common Fields" for examples
get_file_systems_locks
# Get all file locks and limit the number of returned entries to 1000
res = client.get_file_systems_locks(limit=1000)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Get a single lock information by lock name
res = client.get_file_systems_locks(names="3-NFSv3-0-1024")
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Get all locks created by a client with specified client IP
res = client.get_file_systems_locks(client_names='1.1.1.1')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Get locks for a specific file
res = client.get_file_systems_locks(file_system_names='root', paths='/dir/file')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: file_system_ids, filter, inodes, continuation_token
# See section "Common Fields" for examples
post_file_systems_locks_nlm_reclamations
# Initiates the NLM reclamation
res = client.post_file_systems_locks_nlm_reclamations()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
patch_file_systems
from pypureclient.flashblade.FB_2_16 import FileSystemPatch, NfsPatch, Http, Reference, Smb, MultiProtocol, StorageClassInfo
# update a file system object with a new provisioned size. enable hard limits.
# enable NFSv4.1, and disable NFSv3. enable SMB. disable HTTP
# adjust the default user quota to a new value
# change access control style to independent, disable safeguard acls
# set the nfs export policy to "export_policy_1"
# set the smb share policy to "share_policy_1"
# set the smb continuous availability_enabled to True
# set the group ownership to "parent-directory"
# set the storage class to "S500X-A"
# note that name field should be None
new_attr = FileSystemPatch(provisioned=1024, hard_limit_enabled=True,
nfs=NfsPatch(v3_enabled=False,
v4_1_enabled=True,
add_rules="1.1.1.1(rw,no_root_squash)",
export_policy=Reference(name="export_policy_1")),
http=Http(enabled=False),
smb=Smb(enabled=True,
share_policy=Reference(name="share_policy_1"),
continuous_availability_enabled=True),
default_user_quota=4096,
multi_protocol=MultiProtocol(safeguard_acls=False,
access_control_style="independent"),
group_ownership="parent-directory",
storage_class=StorageClassInfo(name="S500X-A"))
# update the file system named myfs on the array
res = client.patch_file_systems(names=["myfs"], ignore_usage=True, file_system=new_attr,
discard_detailed_permissions=True,
cancel_in_progress_storage_class_transition=True)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# update the filesystem object to use an export_policy instead of export rules.
new_attr = FileSystemPatch(nfs=NfsPatch(export_policy=Reference(name="export_policy_1")))
res = client.patch_file_systems(names=["myfs"], file_system=new_attr)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# destroy a file system even if it has a replica link
destroy_attr = FileSystemPatch(destroyed=True,
nfs=NfsPatch(v4_1_enabled=False),
smb=Smb(enabled=False),
multi_protocol=MultiProtocol(access_control_style="mode-bits"))
res = client.patch_file_systems(names=["myfs"], delete_link_on_eradication=True,
file_system=destroy_attr)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# update the file system with id '10314f42-020d-7080-8013-000ddt400090' on the array
res = client.patch_file_systems(ids=['10314f42-020d-7080-8013-000ddt400090'],
ignore_usage=True, file_system=new_attr,
discard_non_snapshotted_data=False)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# rename a file system
new_attr = FileSystemPatch(name="new_name")
res = client.patch_file_systems(names=["old_name"], file_system=new_attr)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
get_file_systems_performance
# list instantaneous nfs performance for all file systems
res = client.get_file_systems_performance(protocol='nfs')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list instantaneous native smb performance for file systems 'fs1' and 'fs2'
res = client.get_file_systems_performance(names=['fs1', 'fs2'], protocol='smb')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list instantaneous nfs performance for file system with id '10314f42-020d-7080-8013-000ddt400090'
res = client.get_file_systems_performance(ids=['10314f42-020d-7080-8013-000ddt400090'],
protocol='nfs')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list historical file systems nfs performance for all file systems between some
# start time and end time
res = client.get_file_systems_performance(
start_time=START_TIME,
end_time=END_TIME,
protocol='nfs',
resolution=30000)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list historical file systems nfs performance for file systems 'fs1' and 'fs2' between some
# start time and end time
res = client.get_file_systems_performance(
start_time=START_TIME,
end_time=END_TIME,
resolution=30000,
protocol='nfs',
names=['fs1', 'fs2'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# total instantaneous performance across 2 filesystems
res = client.get_file_systems_performance(names=['fs1', 'fs2'], protocol='nfs',
total_only=True)
print(res)
# Other valid fields: continuation_token, filter, ids, limit, offset, sort
# See section "Common Fields" for examples
get_file_systems_policies_all
# list all policies attached to the filesystem regardless of type.
res = client.get_file_systems_policies_all()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# assume we have a snapshot or nfs policy named "p1", and a file system named "myfs"
res = client.get_file_systems_policies_all(policy_names=["p1"],
member_names=["myfs"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all policies attached to file system named "myfs"
res = client.get_file_systems_policies_all(member_names=["myfs"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, limit, member_ids, offset, sort, policy_ids
# See section "Common Fields" for examples
delete_file_systems_policies
# attach policy to a file system
# assume we have a policy named "p1", and a file system named "myfs"
client.delete_file_systems_policies(policy_names=["p1"],
member_names=["myfs"])
# Other valid fields: policy_ids, member_ids
# See section "Common Fields" for examples
get_file_systems_policies
# list all policies
res = client.get_file_systems_policies()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# assume we have a policy named "p1", and a file system named "myfs"
res = client.get_file_systems_policies(policy_names=["p1"],
member_names=["myfs"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list and sort by name in descendant order
res = client.get_file_systems_policies(limit=5, sort="policy.name-")
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list with page size 5
res = client.get_file_systems_policies(limit=5)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all remaining policies
res = client.get_file_systems_policies(continuation_token=res.continuation_token)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: filter, member_ids, offset, policy_ids
# See section "Common Fields" for examples
post_file_systems_policies
# attach policy to a file system
# assume we have a policy named "p1", and a file system with id
# "100abf42-0000-4000-8023-000det400090"
res = client.post_file_systems_policies(policy_names=["p1"],
member_ids=["100abf42-0000-4000-8023-000det400090"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: policy_ids, member_names
# See section "Common Fields" for examples
post_file_systems
from pypureclient.flashblade import FileSystemPost, Nfs, Smb, Reference, MultiProtocolPost, FileSystemEradicationConfig
# create a local file system object with given name, provisioned size, default quotas,
# NFSv4.1 enabled, nfs export policy "export_policy_1", smb enabled, and smb share
# policy "share_policy_1"
default_user_space_quota = 1024000
default_group_space_quota = 1024000000
export_policy = Reference(name="export_policy_1")
share_policy = Reference(name="share_policy_1")
myfs = FileSystemPost(provisioned=5000, hard_limit_enabled=True,
nfs=Nfs(v4_1_enabled=True, export_policy=export_policy),
smb=Smb(enabled=True, share_policy=share_policy),
default_user_quota=default_user_space_quota,
default_group_quota=default_group_space_quota,
multi_protocol=MultiProtocolPost(access_control_style="nfs"))
# post the file system object myfs on the array with the specific default user and group
# quotas
res = client.post_file_systems(names=["myfs"], file_system=myfs)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# copy snapshot 'myfs.mysnap' to file system 'myfs'
myfs = FileSystemPost(source=Reference(name='myfs.mysnap'))
# post the file system object myfs on the array
res = client.post_file_systems(names=["myfs"], overwrite=True,
discard_non_snapshotted_data=True, file_system=myfs)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# create WORM file system
era_conf = FileSystemEradicationConfig(eradication_mode='retention-based')
myfs = FileSystemPost(eradication_config=era_conf)
res = client.post_file_systems(names=["myfs"], policy_names=['worm-policy'], file_system=myfs)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
res = client.post_file_systems(names=["myfs"], policy_ids=['10314f42-020d-7080-8013-000ddt400014'], file_system=myfs)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# By default, both nfs and smb exports are created for the file system with the same name as the file system.
# To create a file system without exports, set the default_exports param to an empty string.
# To manually create exports after creating the file system, use `post_file_system_exports` API
myfs_without_exports = FileSystemPost()
res = client.post_file_systems(names=["myfs_without_exports"],
file_system=myfs_without_exports,
default_exports=[""])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
delete_file_systems_sessions
# Delete session by name
res = client.delete_file_systems_sessions(names='54043195528445954')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Delete all sessions of specified protocol
res = client.delete_file_systems_sessions(protocols='nfs', disruptive=True)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Delete all sessions created by specified user
res = client.delete_file_systems_sessions(user_names='0:0', disruptive=True)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Delete all sessions created by specified client IP
res = client.delete_file_systems_sessions(client_names='1.1.1.1', disruptive=True)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Delete all sessions of specified protocol created by specified client IP and user
res = client.delete_file_systems_sessions(protocols='nfs',
client_names='1.1.1.1',
user_names='0:0')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
get_file_systems_sessions
# List all sessions, limit response to 10
res = client.get_file_systems_sessions(limit=10)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Get single session by name
res = client.get_file_systems_sessions(names='54043195528445954')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Get all sessions created by a client with specified client IP
res = client.get_file_systems_sessions(client_names='1.1.1.1')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Get all sessions with specified protocol
res = client.get_file_systems_sessions(protocols='nfs')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Get all sessions created by a client with specified user
res = client.get_file_systems_sessions(user_names='0:0')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token
# See section "Common Fields" for examples
get_file_systems_users_performance
# list performance for all users
res = client.get_file_systems_users_performance(file_system_names=["fs1"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list performance for one user
res = client.get_file_systems_users_performance(file_system_names=["fs1"],
uids=[100])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list performance for one user by filesystem id
res = client.get_file_systems_users_performance(file_system_ids=["10314f42-020d-7080-8013-000ddt400090"],
user_names=["user1"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list performance by name
res = client.get_file_systems_users_performance(names=["fs1/100"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: filter, limit, sort, total_only
# See section "Common Fields" for examples
get_file_systems_worm_data_policies
# Get all WORM data policy members
res = client.get_file_systems_worm_data_policies()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list by policy name
res = client.get_file_systems_worm_data_policies(
policy_names=['test-policy-name']
)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list by member name
res = client.get_file_systems_worm_data_policies(
member_names=['member-name']
)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list by policy ids
res = client.get_file_systems_worm_data_policies(
policy_ids=['10314f42-0120d-7080-8013-000ddt400013']
)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list by member ids
res = client.get_file_systems_worm_data_policies(
member_ids=['10314f42-020d-7080-8013-000ddt400014']
)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: filter, limit, offset, sort, continuation_token
# See section "Common Fields" for examples
Fleetsap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
Hardwareap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
get_hardware
# list all fans
res = client.get_hardware(filter='type=\'fan\'')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all XFMs
res = client.get_hardware(filter='type=\'xfm\'')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all Drives
res = client.get_hardware(filter='type=\'bay\'')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, limit, offset, sort, ids, names
# See section "Common Fields" for examples
patch_hardware
from pypureclient.flashblade import Hardware
# turn visual identifier on
res = client.patch_hardware(names=['CH1.FB1'], hardware=Hardware(identify_enabled=True))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# turn visual identifier off
res = client.patch_hardware(names=['CH1.FB1'], hardware=Hardware(identify_enabled=False))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids
# See section "Common Fields" for examples
Hardwareconnectorsap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
get_hardware_connectors
# list all hardware connectors
res = client.get_hardware_connectors()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list and sort by name in descendant order
res = client.get_hardware_connectors(limit=5, sort="name-")
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list with page size 5
res = client.get_hardware_connectors(limit=5)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all remaining hardware connectors
res = client.get_hardware_connectors(continuation_token=res.continuation_token)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list with filter
res = client.get_hardware_connectors(filter='port_count=4')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: offset, ids, names
# See section "Common Fields" for examples
patch_hardware_connectors
from pypureclient.flashblade import HardwareConnector
# Set port count on CH1.FM1.ETH1 (can also set lane_speed)
res = client.patch_hardware_connectors(names=['CH1.FM1.ETH1'],
hardware_connector=HardwareConnector(port_count=4))
# Other valid fields: ids
# See section "Common Fields" for examples
get_hardware_connectors_performance
# list instantaneous performance for all hardware connectors
res = client.get_hardware_connectors_performance()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list instantaneous hardware connectors performance for selected ethernet connectors
res = client.get_hardware_connectors_performance(names=['*ETH2*'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# List hardware connectors performance by id.
res = client.get_hardware_connectors_performance(ids=["10314f42-020d-7080-8013-000ddt400090"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list historical hardware connectors performance for all connectors between some
# start time and end time
res = client.get_hardware_connectors_performance(
start_time=START_TIME,
end_time=END_TIME,
resolution=30000)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: filter, limit, offset, sort, total_only
# See section "Common Fields" for examples
Kmipap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
delete_kmip
# Delete the KMIP server with the name 'kmip-server-1'
client.delete_kmip(names=['kmip-server-1'])
# Delete the KMIP server with id '10314f42-020d-7080-8013-000ddt400090'
client.delete_kmip(ids=['10314f42-020d-7080-8013-000ddt400090'])
get_kmip
# List the KMIP server configurations
res = client.get_kmip()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: names, ids, continuation_token, filter, limit, offset, sort
# See section "Common Fields" for examples
patch_kmip
from pypureclient.flashblade import KmipServer
# Update a KMIP server configuration with a new set of URIs
kmip_server_name = 'kmip-server-1'
kmip_uris = ['kmip1.example.com:5696', 'kmip2.example.com:5696']
create_body = KmipServer(uris=kmip_uris)
res = client.patch_kmip(names=[kmip_server_name], kmip_server=create_body)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids
# See section "Common Fields" for examples
post_kmip
from pypureclient.flashblade import KmipServer, Reference
# Create a new KMIP server named "kmip-server-1"
kmip_server_name = 'kmip-server-1'
kmip_uris = ['kmip.example.com:5696']
certificate = Reference(name='external', resource_type='certificates')
create_body = KmipServer(uris=kmip_uris, ca_certificate=certificate)
res = client.post_kmip(names=[kmip_server_name], kmip_server=create_body)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
get_kmip_test
# Test the KMIP server configuration named "my_kmip_server"
res = client.get_kmip_test(names=["my_kmip_server"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids
Keytabsap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
delete_keytabs
# delete the keytab with the name 'oldkeytab.1'
client.delete_keytabs(names=['oldkeytab.1'])
# delete the keytab with id '10314f42-020d-7080-8013-000ddt400090'
client.delete_keytabs(ids=['10314f42-020d-7080-8013-000ddt400090'])
# delete all keytabs that were encrypted with older aes128 ciphers
res = client.get_keytabs(filter='contains(encryption_type, "aes256")')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
items = list(res.items)
print(items)
for keytab in items:
name_to_delete = keytab.name
client.delete_keytabs(names=[name_to_delete])
get_keytabs_download
# download keytab file and list the file name
res = client.get_keytabs_download()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# export all keytabs on the system with a certain encryption type, and write their binary
# to a file
desired_encryption_type = 'aes256-cts-hmac-sha1-96'
filter_str = 'encryption_type="{}"'.format(desired_encryption_type)
res = client.get_keytabs(filter=filter_str)
# get the names from our results
names_to_export = []
for keytab_entry_obj in list(res.items):
names_to_export.append(keytab_entry_obj.name)
# download file composed of the keytabs we gathered, encoded in binary
res = client.get_keytabs_download(keytab_names=names_to_export)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: keytab_ids
# See section "Common Fields" for examples
get_keytabs
# list all keytabs on the system
res = client.get_keytabs()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list first five keytabs using default sort. only looking for ones beginning with 'kt1.'
res = client.get_keytabs(limit=5, names=["kt1.*"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list first five keytabs, sorting by the key version number used to generate them
res = client.get_keytabs(limit=5, sort="kvno")
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all keytabs, filtering only for keytabs with aes256 in their encryption type
res = client.get_keytabs(filter='contains(encryption_type, "aes256")')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, ids, offset
# See section "Common Fields" for examples
post_keytabs
from pypureclient.flashblade import KeytabPost, Reference
# Rotate keytabs for active directory account
account = Reference(name="test-config", resource_type="active-directory")
keytab = KeytabPost(source=account)
res = client.post_keytabs(keytab=keytab)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: name_prefixes
# See section "Common Fields" for examples
post_keytabs_upload
# read the binary data from your keytab file
with open('/etc/krb5.keytab', 'rb') as binary_keytab_file:
my_binary_keytab_data = binary_keytab_file.read()
# upload the binary data. we use a tuple of (filename, file contents) as the keytab file to
# upload in order to be generically compatible across different python versions
res = client.post_keytabs_upload(name_prefixes='binary-uploaded-krb5',
keytab_file=('krb5.keytab', my_binary_keytab_data))
# our result is the contents of the file we just uploaded
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# we can also upload a base64 encoded keytab file, in case we were sent a keytab
# through some medium where binary wasn't feasible (e.g. copied into a bash terminal,
# sent as text over an internal corporate messaging system)
with open('/etc/krb5.txt', 'r') as base64_keytab_file:
my_base64_keytab_data = base64_keytab_file.read()
res = client.post_keytabs_upload(name_prefixes='base64-uploaded-krb5',
keytab_file=('krb5.txt', my_base64_keytab_data))
# our result is the contents of the file we just uploaded
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
Legalholdsap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
Lifecyclerulesap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
delete_lifecycle_rules
# Delete the lifecycle rule named 'myrule' from bucket 'mybucket'
client.delete_lifecycle_rules(names=['mybucket/myrule'])
# Delete the lifecycle rule with id '10314f42-020d-7080-8013-000ddt400090'
client.delete_lifecycle_rules(ids=['10314f42-020d-7080-8013-000ddt400090'])
# Delete all the lifecycle rules from bucket 'mybucket'
client.delete_lifecycle_rules(bucket_names=['mybucket'])
# Delete all the lifecycle rules from bucket with id '100abf42-0000-4000-8023-000det400090'
client.delete_lifecycle_rules(bucket_ids=['100abf42-0000-4000-8023-000det400090'])
get_lifecycle_rules
# List all lifecycle rules
res = client.get_lifecycle_rules()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# List first two lifecycle rules in bucket 'mybucket'. Use default sorting.
res = client.get_lifecycle_rules(limit=2, bucket_names=['mybucket'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# List all lifecycle rules in bucket with id '100abf42-0000-4000-8023-000det400090'
res = client.get_lifecycle_rules(limit=2, bucket_ids=['100abf42-0000-4000-8023-000det400090'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# List the first lifecycle rule when sorting by prefix.
res = client.get_lifecycle_rules(limit=1, sort='prefix')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, ids, limit, names, offset, sort
# See section "Common Fields" for examples
patch_lifecycle_rules
from pypureclient.flashblade import LifecycleRule
# modify the lifecycle rule 'myrule' for the bucket 'mybucket', changing the 'keep_previous_version_for'.
attr = LifecycleRule(enabled=True,
keep_previous_version_for=7*24*60*60*1000,
prefix='mynewprefix')
res = client.patch_lifecycle_rules(names=['mybucket/myrule'], lifecycle=attr)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# modify the lifecycle rule 'myrule' again for the bucket 'mybucket' again, adding 'keep_current_version_for'.
attr = LifecycleRule(enabled=True,
keep_current_version_for=7*24*60*60*1000,
prefix='mynewprefix')
res = client.patch_lifecycle_rules(bucket_names=['mybucket'], names=['myrule'], lifecycle=attr)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# modify the lifecycle rule 'myrule' again for the bucket 'mybucket' again, deleting 'keep_current_version_for' and
# adding 'keep_current_version_until' and 'abort_incomplete_multipart_uploads_after'
attr = LifecycleRule(enabled=True,
keep_current_version_for=0,
keep_current_version_until=1639267200000, # 2021-12-12
abort_incomplete_multipart_uploads_after=172800000, # 2 day
prefix='mynewprefix')
res = client.patch_lifecycle_rules(bucket_ids=['10314f42-020d-7080-8013-000ddt400091'],
ids=["10314f42-020d-7080-8013-000ddt400090"], lifecycle=attr, confirm_date=True)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
post_lifecycle_rules
from pypureclient.flashblade import LifecycleRulePost, Reference
# create a lifecycle rule 'myrule' for the bucket 'mybucket' with 'keep_previous_version_for'
attr = LifecycleRulePost(bucket=Reference(name='mybucket'),
rule_id='myrule',
keep_previous_version_for=2*24*60*60*1000,
prefix='myprefix')
res = client.post_lifecycle_rules(rule=attr)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# create a lifecycle rule 'myrule1' for the bucket 'mybucket' with 'keep_current_version_for'
attr = LifecycleRulePost(bucket=Reference(name='mybucket'),
rule_id='myrule1',
keep_current_version_for=2*24*60*60*1000,
prefix='myprefix')
res = client.post_lifecycle_rules(rule=attr)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# create a lifecycle rule 'myrule2' for the bucket 'mybucket' with
# 'keep_current_version_until' and 'abort_incomplete_multipart_uploads_after'
attr = LifecycleRulePost(bucket=Reference(name='mybucket'),
rule_id='myrule2',
keep_current_version_until=1639267200000, # 2021-12-12
abort_incomplete_multipart_uploads_after=172800000, # 2 day
prefix='myprefix')
res = client.post_lifecycle_rules(rule=attr, confirm_date=True)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
Linkaggregationgroupsap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
delete_link_aggregation_groups
# delete a link aggregation group with name mylag
client.delete_link_aggregation_groups(names=["mylag"])
# Other valid fields: ids
# See section "Common Fields" for examples
get_link_aggregation_groups
# list all link aggregation groups
res = client.get_link_aggregation_groups()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list and sort by name in descendant order
res = client.get_link_aggregation_groups(limit=5, sort="name-")
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list with page size 5
res = client.get_link_aggregation_groups(limit=5)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all remaining link aggregation groups
res = client.get_link_aggregation_groups(continuation_token=res.continuation_token)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list with filter
res = client.get_link_aggregation_groups(filter='mac_address=\'24:a9:37:11:f5:21\'')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids, names, offset
# See section "Common Fields" for examples
patch_link_aggregation_groups
from pypureclient.flashblade import LinkAggregationGroup
res = client.patch_link_aggregation_groups(
names=["mylag"], link_aggregation_group=LinkAggregationGroup(
ports=[{"name": "CH1.FM1.ETH4"}, {"name": "CH1.FM2.ETH4"}]))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids
# See section "Common Fields" for examples
post_link_aggregation_groups
from pypureclient.flashblade import LinkAggregationGroup
# create lag named "mylag" with ports 'CH1.FM1.ETH4' and 'CH1.FM2.ETH4'
res = client.post_link_aggregation_groups(
names=["mylag"],
link_aggregation_group=LinkAggregationGroup(ports=[{'name': 'CH1.FM1.ETH4'},
{'name': 'CH1.FM2.ETH4'}]))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
Logsap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
get_logs_async_download
res = client.get_logs_async_download(names=['array-name_logs_2022-01-02.03_1643259782296.zip'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
get_logs_async
res = client.get_logs_async()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, ids, limit, names, offset, sort
# See section "Common Fields" for examples
patch_logs_async
from pypureclient.flashblade import LogsAsync, Reference
logs_async_attr = LogsAsync(start_time=1643664575040, end_time=1643668175040, hardware_components=[Reference(name='CH1')])
res = client.patch_logs_async(logs_async=logs_async_attr)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
get_logs
res = client.get_logs(start_time=1527415200000, end_time=1527415200000)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
Maintenancewindowsap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
delete_maintenance_windows
# Delete maintenance windows
res = client.delete_maintenance_windows(names=['array'])
# Other valid fields: ids
# See section "Common Fields" for examples
get_maintenance_windows
# List Maintenance Windows
res = client.get_maintenance_windows()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, ids, limit, names, offset, sort, references
# See section "Common Fields" for examples
post_maintenance_windows
from pypureclient.flashblade import MaintenanceWindowPost
# post the maintenance window on the array
duration = 60 * 60 * 1000 # 1 hour in milliseconds
body = MaintenanceWindowPost(timeout=duration)
res = client.post_maintenance_windows(names=["array"], maintenance_window=body)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
Networkinterfacesap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
delete_network_interfaces
# delete a network interface with name myvip
client.delete_network_interfaces(names=["myvip"])
# Other valid fields: ids
# See section "Common Fields" for examples
get_network_interfaces
# list all network interfaces
res = client.get_network_interfaces()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list and sort by name in descendant order
res = client.get_network_interfaces(limit=5, sort="name-")
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list with page size 5
res = client.get_network_interfaces(limit=5)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all remaining network interfaces
res = client.get_network_interfaces(continuation_token=res.continuation_token)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list with filter
res = client.get_network_interfaces(filter='(services=\'replication\')')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids, names, offset
# See section "Common Fields" for examples
patch_network_interfaces
from pypureclient.flashblade.FB_2_16 import NetworkInterface
# Update the existing network interface "myvip"
# Change the address to "1.2.3.201"
# Change the service type to "replication"
res = client.patch_network_interfaces(
names=['myvip'], network_interface=NetworkInterface(address='1.2.3.201', services=['replication']))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Update the existing network interface "myvip"
# Change the associated server to "my_server"
# Change the address to "1.2.3.201"
res = client.patch_network_interfaces(
names=['myvip'],
network_interface=NetworkInterface(
address='1.2.3.201',
server='my_server'))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids
# See section "Common Fields" for examples
get_network_interfaces_ping
# Default behavior will send a single ping from both FMs/XFMs and one blade.
ping_dest = 'localhost'
res = client.get_network_interfaces_ping(destination=ping_dest)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Send 5 pings from the component being specified. Also include the full
# user-to-user latency.
res = client.get_network_interfaces_ping(destination=ping_dest,
count=5,
component_name='CH1.FB1',
print_latency=True)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Send pings using 120-byte packets, and using the specified interface (subnet, vip, or IP)
# as the source. Do not resolve the destination's IP address to a hostname
res = client.get_network_interfaces_ping(destination=ping_dest,
packet_size=120,
source='fm1.admin0',
resolve_hostname=False)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
post_network_interfaces
from pypureclient.flashblade import NetworkInterface
# create vip named myvip on the array
res = client.post_network_interfaces(
names=["myvip"],
network_interface=NetworkInterface(address='1.2.3.101',
services=["data"],
type="vip"))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# create a replication vip named replvip on the array
res = client.post_network_interfaces(
names=["replvip"],
network_interface=NetworkInterface(address='1.2.3.101',
services=["replication"],
type="vip"))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# create vip inside 'my_server' server object
res = client.post_network_interfaces(
names=["replvip"],
network_interface=NetworkInterface(address='1.2.3.101',
services=["replication"],
type="vip",
server={"name": "my_server"}))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
get_network_interfaces_trace
# Default behavior traces the route of UDP packets from both FMs/XFMs and one blade.
trace_dest = 'localhost'
res = client.get_network_interfaces_trace(destination=trace_dest)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Trace only from the component being specified. Use TCP and do not allow packet fragmentation.
res = client.get_network_interfaces_trace(destination=trace_dest,
component_name='CH1.FB1',
method='tcp',
fragment_packet=False)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Trace the route to a specified port at the destination, using the specified interface (vip,
# subnet or IP) as the source. Do not resolve the destination's IP address to a hostname, and
# discover the MTU.
res = client.get_network_interfaces_trace(destination=trace_dest,
port=80,
source='fm1.admin0',
resolve_hostname=False,
discover_mtu=True)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
Oidcssoap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
Objectstoreaccesskeysap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
delete_object_store_access_keys
# delete an access key with name 'PSABSSZRHPMEDKHMAAJPJBONPJGGDDAOFABDEXAMPLE'
client.delete_object_store_access_keys(names=["PSABSSZRHPMEDKHMAAJPJBONPJGGDDAOFABDEXAMPLE"])
get_object_store_access_keys
# list all object store access keys
res = client.get_object_store_access_keys()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list and sort by created in descendant order
res = client.get_object_store_access_keys(limit=5, sort="created-")
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list with page size 5
res = client.get_object_store_access_keys(limit=5)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all remaining object store access keys
res = client.get_object_store_access_keys(continuation_token=res.continuation_token)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list with filter
res = client.get_object_store_access_keys(filter='user.name=\'acc1/myobjuser\'')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: names, offset
# See section "Common Fields" for examples
patch_object_store_access_keys
from pypureclient.flashblade import ObjectStoreAccessKey
# Disable the object store access key named "PSABSSZRHPMEDKHMAAJPJBONPJGGDDAOFABDEXAMPLE"
res = client.patch_object_store_access_keys(
names=['PSABSSZRHPMEDKHMAAJPJBONPJGGDDAOFABDEXAMPLE'], object_store_access_key=ObjectStoreAccessKey(enabled=False))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
post_object_store_access_keys
from pypureclient.flashblade import ObjectStoreAccessKeyPost
# generate access key and secret key for object store user
# note: you need to handle the secret key since you can't retrieve it from the array after create
res = client.post_object_store_access_keys(
object_store_access_key=ObjectStoreAccessKeyPost(user={'name': 'acc1/myobjuser'}))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# make another access key for the user with id '100abf42-0000-4000-8023-000det400090'
res = client.post_object_store_access_keys(
object_store_access_key=ObjectStoreAccessKeyPost(user={'id': '100abf42-0000-4000-8023-000det400090'}))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# import credentials from another FlashBlade
res = client.post_object_store_access_keys(
names=['PSABSSZRHPMEDKHMAAJPJBONPJGGDDAOFABDGLBJLHO'],
object_store_access_key=ObjectStoreAccessKeyPost(
user={'name': 'acc1/myobjuser'}, secret_access_key='BAG61F63105e0d3669/e066+5C5DFBE2c127d395LBGG'
)
)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
Objectstoreaccountsap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
delete_object_store_accounts
# delete a object store account with name myobjaccount
client.delete_object_store_accounts(names=["myobjaccount"])
# Other valid fields: ids
# See section "Common Fields" for examples
get_object_store_accounts
# list all object store accounts
res = client.get_object_store_accounts()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list and sort by unique in descendant order
res = client.get_object_store_accounts(limit=5, sort="space.unique-")
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list with page size 5
res = client.get_object_store_accounts(limit=5)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all remaining object store accounts
res = client.get_object_store_accounts(continuation_token=res.continuation_token)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list with filter
res = client.get_object_store_accounts(filter='name=\'myobjaccount*\'')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids, names, offset, total_only
# See section "Common Fields" for examples
patch_object_store_accounts
from pypureclient.flashblade import BucketDefaults, ObjectStoreAccountPatch, PublicAccessConfig
# Update the quota settings for the account named "my-obj-store-account". Enable a
# hard limit (i.e. enforced) quota of 100G.
res = client.patch_object_store_accounts(names=["my-obj-store-account"],
object_store_account=ObjectStoreAccountPatch(quota_limit=str(100*1024*1024*1024),
hard_limit_enabled=True))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Reduce the hard limit quota for "my-obj-store-account" to 80G while ignoring its current usage (i.e.
# the operation should not fail due to the account's size currently being greater than 80G)
res = client.patch_object_store_accounts(names=["my-obj-store-account"],
object_store_account=ObjectStoreAccountPatch(quota_limit=str(80*1024*1024*1024)),
ignore_usage=True)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Update the BucketDefaults for "my-obj-store-account". Enable a soft (i.e. alerted but unenforced)
# quota limit of 10G for each new bucket for which an overriding quota configuration is not provided.
bucket_default_attr = BucketDefaults(quota_limit=str(10*1024*1024*1024),
hard_limit_enabled=False)
res = client.patch_object_store_accounts(names=["my-obj-store-account"],
object_store_account=ObjectStoreAccountPatch(bucket_defaults=bucket_default_attr))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Clear the quota limit for "my-obj-store-account"
res = client.patch_object_store_accounts(names=["my-obj-store-account"],
object_store_account=ObjectStoreAccountPatch(quota_limit=''))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Disable block new public policies for "my-obj-store-account".
res = client.patch_object_store_accounts(names=["my-obj-store-account"],
object_store_account=ObjectStoreAccountPatch(
public_access_config=PublicAccessConfig(block_new_public_policies=False)))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Disable block public access for "my-obj-store-account".
res = client.patch_object_store_accounts(names=["my-obj-store-account"],
object_store_account=ObjectStoreAccountPatch(
public_access_config=PublicAccessConfig(block_public_access=False)))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Block new public policies and public access for "my-obj-store-account".
res = client.patch_object_store_accounts(names=["my-obj-store-account"],
object_store_account=ObjectStoreAccountPatch(
public_access_config=PublicAccessConfig(
block_new_public_policies=True,
block_public_access=True)))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids
# See section "Common Fields" for examples
post_object_store_accounts
from pypureclient.flashblade import BucketDefaults, ObjectStoreAccountPost
# Post the object store account object "myobjaccount" on the array. Provide an initial quota
# configuration that uses a hard (i.e. enforced) quota limit of 1T for the account, and a default
# soft quota limit of 50G for buckets that will be created in the account.
bucket_default_attr = BucketDefaults(quota_limit=str(50*1024*1024*1024),
hard_limit_enabled=False)
res = client.post_object_store_accounts(names=["myobjaccount"],
object_store_account=ObjectStoreAccountPost(quota_limit=str(1024*1024*1024*1024),
hard_limit_enabled=True,
bucket_defaults=bucket_default_attr))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
Objectstoreremotecredentialsap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
delete_object_store_remote_credentials
# delete the remote credentials with the name 'remote/credentials'
client.delete_object_store_remote_credentials(names=['remote/credentials'])
# delete the remote credentials with the id '10314f42-020d-7080-8013-000ddt400090'
client.delete_object_store_remote_credentials(ids=['10314f42-020d-7080-8013-000ddt400090'])
get_object_store_remote_credentials
# list all remote credentials
res = client.get_object_store_remote_credentials()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list first five remote credentials using default sort
res = client.get_object_store_remote_credentials(limit=5)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list first five remote credentials and sort by access key
res = client.get_object_store_remote_credentials(limit=5, sort='access_key_id')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all remaining remote credentials
res = client.get_object_store_remote_credentials(continuation_token=res.continuation_token)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list with filter to see only remote credentials that are on a specific remote
res = client.get_object_store_remote_credentials(filter='name=\'s3target/*\'')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids, names, offset
# See section "Common Fields" for examples
patch_object_store_remote_credentials
from pypureclient.flashblade import ObjectStoreRemoteCredentials
# Change the name of an existing set of remote credentials to "remote/credentials2"
# Change the access key id of an existing set of remote credentials
# Change the secret access key of an existing set of remote credentials
new_attr = ObjectStoreRemoteCredentials(name='remote/credentials2',
access_key_id='PSFBIKZFCAAAKOEJ',
secret_access_key='0BEC00003+b1228C223c0FbF1ab5e4GICJGBPJPEOLJCD')
# update the the remote credentials with the name 'remote/credentials1' with our new attributes
res = client.patch_object_store_remote_credentials(names=['remote/credentials1'],
remote_credentials=new_attr)
print(res)
# update the the remote credentials with the id '10314f42-020d-7080-8013-000ddt400090' with our new attributes
res = client.patch_object_store_remote_credentials(ids=['10314f42-020d-7080-8013-000ddt400090'],
remote_credentials=new_attr)
print(res)
post_object_store_remote_credentials
from pypureclient.flashblade import ObjectStoreRemoteCredentials
# create a remote credentials object corresponding to user credentials on the remote
name = "remote/credentials"
access_key = "PSFBIKZFCAAAKOEJ"
secret_key = "0BEC00003+b1228C223c0FbF1ab5e4GICJGBPJPEOLJCD"
remote_credentials = ObjectStoreRemoteCredentials(access_key_id=access_key, secret_access_key=secret_key)
# post the remote credentials object on the local array
res = client.post_object_store_remote_credentials(names=[name], remote_credentials=remote_credentials)
print(res)
Objectstorerolesap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
Objectstoreusersap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
delete_object_store_users
client.delete_object_store_users(names=["acc1/myobjuser"])
# Other valid fields: ids
# See section "Common Fields" for examples
get_object_store_users
# list all object store users
res = client.get_object_store_users()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list and sort by created in descendant order
res = client.get_object_store_users(limit=5, sort="created-")
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list with page size 5
res = client.get_object_store_users(limit=5)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all remaining object store users
res = client.get_object_store_users(continuation_token=res.continuation_token)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list with filter
res = client.get_object_store_users(filter='name=\'acc1/myobjuser*\'')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids, names, offset
# See section "Common Fields" for examples
delete_object_store_users_object_store_access_policies
# remove a policy from a user
client.delete_object_store_users_object_store_access_policies(
member_names=["acc1/myobjuser"], policy_names=["pure:policy/bucket-list"])
# remove a policy from a user by id
client.delete_object_store_users_object_store_access_policies(
member_ids=["10314f42-020d-7080-8013-000ddt400090"], policy_ids=["10314f42-020d-7080-8013-000ddt400012"])
get_object_store_users_object_store_access_policies
# list access policies for object store users
res = client.get_object_store_users_object_store_access_policies()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list access policies for specific user
res = client.get_object_store_users_object_store_access_policies(
member_names=["acc1/myobjuser"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list access policies for specific user by id
res = client.get_object_store_users_object_store_access_policies(member_ids=["10314f42-020d-7080-8013-000ddt400090"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list only users with full access
res = client.get_object_store_users_object_store_access_policies(policy_names=["pure:policy/full-access"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list only users with a specific policy by id
res = client.get_object_store_users_object_store_access_policies(policy_ids=["10314f42-020d-7080-8013-000ddt400012"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, limit, offset, sort
# See section "Common Fields" for examples
post_object_store_users_object_store_access_policies
# add a policy to a user
res = client.post_object_store_users_object_store_access_policies(
member_names=["acc1/myobjuser"], policy_names=["pure:policy/bucket-list"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# add a member to a policy by id
res = client.post_object_store_users_object_store_access_policies(
member_ids=["10314f42-020d-7080-8013-000ddt400090"], policy_ids=["10314f42-020d-7080-8013-000ddt400012"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
post_object_store_users
# post the object store user object myobjuser on the array without full access
res = client.post_object_store_users(names=["acc1/myobjuser"], full_access=False)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
Objectstorevirtualhostsap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
delete_object_store_virtual_hosts
# delete the object store virtual host on the array
client.delete_object_store_virtual_hosts(names=["s3.myhost.com"])
# delete by id
client.delete_object_store_virtual_hosts(ids=["10314f42-020d-7080-8013-000ddt400090"])
get_object_store_virtual_hosts
# list all object store virtual hosts
res = client.get_object_store_virtual_hosts()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list and sort by created in descendant order
res = client.get_object_store_virtual_hosts(limit=3, sort="name-")
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list with page size 3
res = client.get_object_store_virtual_hosts(limit=3)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list with filter
res = client.get_object_store_virtual_hosts(filter='name=\'s3.myhost*\'')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list by name
res = client.get_object_store_virtual_hosts(names=['s3.myhost*'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list by id
res = client.get_object_store_virtual_hosts(ids=['10314f42-020d-7080-8013-000ddt400090'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, offset
# See section "Common Fields" for examples
post_object_store_virtual_hosts
# post the object store virtual host on the array
res = client.post_object_store_virtual_hosts(names=["s3.myhost.com"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
Policiesallap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
get_policies_all
# list all policies of all types
res = client.get_policies_all()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Valid fields: continuation_token, filter, ids, limit, names, offset, sort
# See section "Common Fields" for examples
get_policies_all_members
# list all policy/member pairs (for all policy types)
res = client.get_policies_all_members()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# assume we have a policy named "p1", and a file system named "myfs"
res = client.get_policies_all_members(policy_names=["p1"],
member_names=["myfs"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
res = client.get_policies_all_members(policy_names=["p1"],
member_names=["myfs"],
remote_names=["myremote"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# assume we have a policy named "p1", and a file system snapshot named "myfs.1"
res = client.get_policies_all_members(policy_names=["p1"],
member_names=["myfs.1"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list and sort by name in descendant order
res = client.get_policies_all_members(limit=5, sort="policy.name-")
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list with page size 5
res = client.get_policies_all_members(limit=5)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all remaining policies
res = client.get_policies_all_members(continuation_token=res.continuation_token)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list only members with a specific policy by id
res = client.get_policies_all_members(policy_ids=["10314f42-020d-7080-8013-000ddt400012"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: filter, local_file_system_ids, local_file_system_names, member_ids, member_types,
# offset, remote_ids, remote_file_system_ids, remote_file_system_names
# See section "Common Fields" for examples
Policiesauditforfilesystemsap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
delete_audit_file_systems_policies
# delete a policy by name
client.delete_audit_file_systems_policies(names=['audit_policy_1'])
# delete a policy by ID
client.delete_audit_file_systems_policies(ids=['2a37c647-19e9-4308-b469-89d9a9753160'])
get_audit_file_systems_policies
# list all audit policies
res = client.get_audit_file_systems_policies()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
policyname = 'audit_policy_1'
# list audit policy for policy policyname
res = client.get_audit_file_systems_policies(names=[policyname])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# List audit policies specified by id.
res = client.get_audit_file_systems_policies(ids=['83efe671-3265-af1e-6dd2-c9ff155c2a18'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: filter, limit, offset, sort, continuation_token
# See section "Common Fields" for examples
delete_audit_file_systems_policies_members
# detach an audit policy from a file system
# assume we have a policy named "p1", and a file system named "myfs"
client.delete_audit_file_systems_policies_members(policy_names=["p1"], member_names=["myfs"])
# Other valid fields: policy_ids, member_ids
# See section "Common Fields" for examples
get_audit_file_systems_policies_members
# list all policies
res = client.get_audit_file_systems_policies_members()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# assume we have a policy named "p1", and a file system named "myfs"
res = client.get_audit_file_systems_policies_members(policy_names=["p1"],
member_names=["myfs"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list and sort by name in descendant order
res = client.get_audit_file_systems_policies_members(limit=5, sort="policy.name-")
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list with page size 5
res = client.get_audit_file_systems_policies_members(limit=5)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all remaining policies
res = client.get_audit_file_systems_policies_members(continuation_token=res.continuation_token)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: filter, member_ids, policy_ids, offset
# See section "Common Fields" for examples
post_audit_file_systems_policies_members
# attach an audit policy to a file system
# assume we have a policy named "p1", and a file system named "myfs"
res = client.post_audit_file_systems_policies_members(policy_names=["p1"],
member_names=["myfs"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: member_ids, policy_ids
# See section "Common Fields" for examples
patch_audit_file_systems_policies
from pypureclient.flashblade.FB_2_14 import AuditFileSystemsPoliciesPatch, Reference
policyname = 'audit_policy_1'
# Disable the policy.
policy = AuditFileSystemsPoliciesPatch(enabled=False)
res = client.patch_audit_file_systems_policies(names=[policyname], policy=policy) # need to change body name to policy in PURest
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# add one log target and remove old log target
policy = AuditFileSystemsPoliciesPatch(enabled=True)
policy.add_log_targets = [Reference(name='syslog2')]
policy.remove_log_targets = [Reference(name='syslog1')]
res = client.patch_audit_file_systems_policies(names=[policyname], policy=policy) # need to change body name to policy in PURest
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids
# See section "Common Fields" for examples
post_audit_file_systems_policies
from pypureclient.flashblade.FB_2_14 import AuditFileSystemsPolicy, Reference
# Create an audit policy with a syslog target named 'syslog1'
policyname = 'audit_policy_1'
policy = AuditFileSystemsPolicy()
policy.log_targets = [Reference(name='syslog1')]
res = client.post_audit_file_systems_policies(names=[policyname], policy=policy)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
Policiesnfsap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
delete_nfs_export_policies
# delete a policy by name
client.delete_nfs_export_policies(names=["export_policy_1"])
# delete a policy by name with a version specifier.
# The delete will fail if the policy version differs from specified version.
# The version can be retrieved from the response from
# get_nfs_export_policies, patch_nfs_export_policies or post_nfs_export_policies.
policy_version = '00000000-7b11-a468-0000-0000503669ea'
client.delete_nfs_export_policies(names=["export_policy_1"], versions=[policy_version])
# delete a policy by ID
client.delete_nfs_export_policies(ids=["10314f42-020d-7080-8013-000ddt400012"])
get_nfs_export_policies
# list all nfs export policies
res = client.get_nfs_export_policies()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list nfs export policies specified by name
res = client.get_nfs_export_policies(names=['export_policy_1'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# List nfs export policies specified by id.
res = client.get_nfs_export_policies(ids=['83efe671-3265-af1e-6dd2-c9ff155c2a18'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: filter, limit, offset, sort, continuation_token
# See section "Common Fields" for examples
patch_nfs_export_policies
from pypureclient.flashblade import NfsExportPolicy, NfsExportPolicyRule
# Disable the policy.
policy_attr = NfsExportPolicy(enabled=False)
res = client.patch_nfs_export_policies(names=['export_policy_1'], policy=policy_attr)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Bulk specify new rules for the policy.
# Note: The rules must be ordered by client type grouped by
# IP addresses, netmasks, netgroups, and asterisk (*).
bulk_rules = [NfsExportPolicyRule(client='10.20.30.40', access='root-squash', permission='rw'),
NfsExportPolicyRule(client='192.168.0.0/28', access='root-squash', permission='ro',
security=['sys']),
NfsExportPolicyRule(client='@devgroup', access='root-squash', permission='rw',
anonuid='500', anongid='500'),
NfsExportPolicyRule(client='*', access='root-squash', permission='ro', secure=True),
]
policy_attr = NfsExportPolicy(rules=bulk_rules)
res = client.patch_nfs_export_policies(names=["export_policy_1"], policy=policy_attr)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# update the nfs export policy with id '83efe671-3265-af1e-6dd2-c9ff155c2a18'
res = client.patch_nfs_export_policies(ids=['83efe671-3265-af1e-6dd2-c9ff155c2a18'],
policy=policy_attr)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
res_items = (list(res.items))
print(res_items)
curr_version = res_items[0].version
# update the nfs export policy using a version retrieved from a previous get, patch or post call.
# The call to patch_nfs_export_policies will fail if the version differs from the current version.
# That indicates that the export policy or one of its rules was modified since the version
# was acquired.
res = client.patch_nfs_export_policies(names=["export_policy_1"], policy=policy_attr,
versions=[curr_version])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
res_items = (list(res.items))
print(res_items)
# Other valid fields: ids
# See section "Common Fields" for examples
post_nfs_export_policies
from pypureclient.flashblade import (NfsExportPolicy, NfsExportPolicyRuleInPolicy)
# Create an export policy with 2 rules. The first for client 10.20.30.40 with readwrite permissions
# and root-squash. The second with read-only permissions for all other clients.
policyname = "export_policy_1"
policy = NfsExportPolicy()
policy.rules = [
NfsExportPolicyRuleInPolicy(client='10.20.30.40', permission='rw', access='root-squash'),
NfsExportPolicyRuleInPolicy(client='*', permission='ro')
]
res = client.post_nfs_export_policies(names=[policyname], policy=policy)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
delete_nfs_export_policies_rules
# delete a policy rule by name
client.delete_nfs_export_policies_rules(names=['export_policy_1.1'])
# delete a policy rule by name with a version specifier.
# The delete will fail if the policy version differs from specified version.
# The policy_version can be retrieved from the response from
# get_nfs_export_policies, patch_nfs_export_policies, post_nfs_export_policies,
# get_nfs_export_policies_rule, patch_nfs_export_policies_rule, or post_nfs_export_policies_rule.
policy_version = '00000000-7b11-a468-0000-0000503669ea'
client.delete_nfs_export_policies_rules(names=['export_policy_1.1'], versions=[policy_version])
# delete a policy by ID
client.delete_nfs_export_policies_rules(ids=['2a37c647-19e9-4308-b469-89d9a9753160'])
get_nfs_export_policies_rules
# list all nfs export policy rules
res = client.get_nfs_export_policies_rules()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all nfs export policy rules for export_policy 'export_policy_1'
res = client.get_nfs_export_policies_rules(policy_names=['export_policy_1'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# List nfs export policy rule named 'export_policy_1.1'
res = client.get_nfs_export_policies_rules(names=['export_policy_1.1'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: filter, limit, offset, sort, continuation_token, ids, policy_ids
# See section "Common Fields" for examples
patch_nfs_export_policies_rules
from pypureclient.flashblade import NfsExportPolicyRule
rulename = 'export_policy_1.2'
# Patch export policy rule 'export_policy_1.2' in the export policy named 'export_policy_1'
res = client.patch_nfs_export_policies_rules(names=[rulename],
rule=NfsExportPolicyRule(permission='ro'))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Move an export policy rule in the rules list.
# to index 1. (indexes are 1 based.)
res = client.patch_nfs_export_policies_rules(names=[rulename],
rule=NfsExportPolicyRule(index=1))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Move an exported rule before the rule named 'export_policy_1.1'.
res = client.patch_nfs_export_policies_rules(names=[rulename],
rule=NfsExportPolicyRule(),
before_rule_name='export_policy_1.1')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Move an export rule before the rule with id '38e24e2d-9e24-46c3-9701-52a7d97a7343'.
res = client.patch_nfs_export_policies_rules(names=[rulename],
rule=NfsExportPolicyRule(),
before_rule_id='38e24e2d-9e24-46c3-9701-52a7d97a7343')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Patch an existing rule specifying the client, readwrite permissions, rootsquash, anonuid,
# anongid, atime, fileid_32bit, secure and security attributes.
res = client.patch_nfs_export_policies_rules(names=[rulename],
rule=NfsExportPolicyRule(client='10.20.0.0/24',
permission='rw',
access='root-squash',
anonuid='400',
anongid='500',
atime=True,
secure=True,
security=['sys']))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
res_items = list(res.items)
print(res_items)
policy_version = res_items[0].policy_version
# Patch an existing rule while ensuring that the policy has not been changed since the last patch.
res = client.patch_nfs_export_policies_rules(names=[rulename],
rule=NfsExportPolicyRule(permission='ro'),
versions=[policy_version])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids
# See section "Common Fields" for examples
post_nfs_export_policies_rules
from pypureclient.flashblade import NfsExportPolicyRule
policyname = "export_policy_1"
# Create a new export policy rule in the export policy named 'export_policy_1'
res = client.post_nfs_export_policies_rules(rule=NfsExportPolicyRule(client='10.20.30.1',
permission='rw'),
policy_names=[policyname])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Create a new export policy rule in the export policy named 'export_policy_1'
# and insert it at index 1. (indexes are 1 based.)
res = client.post_nfs_export_policies_rules(rule=NfsExportPolicyRule(client='10.20.30.2',
permission='rw',
index=1),
policy_names=[policyname])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Create a new export policy rule in the export policy named 'export_policy_1'
# and insert it before the rule named 'export_policy_1.1'.
res = client.post_nfs_export_policies_rules(rule=NfsExportPolicyRule(client='10.20.30.3',
permission='rw'),
policy_names=[policyname],
before_rule_name='export_policy_1.1')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Create a new export policy rule in the export policy named 'export_policy_1'
# and insert it before the rule with id '10314f42-020d-7080-8013-000ddt400090'.
res = client.post_nfs_export_policies_rules(rule=NfsExportPolicyRule(client='10.20.30.4',
permission='rw'),
policy_names=[policyname],
before_rule_id='10314f42-020d-7080-8013-000ddt400090')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Create a new export policy rule in the export policy named 'export_policy_1'
# specifying a subnet mask for the client, readwrite permissions, and rootsquash to anonuid=400
# and anongid=500.
res = client.post_nfs_export_policies_rules(rule=NfsExportPolicyRule(client='10.20.0.0/24',
permission='rw',
access='root-squash',
anonuid='400',
anongid='500'),
policy_names=[policyname])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Create a new export policy rule in the export policy named 'export_policy_1'
# specifying a netgroup for the client, and the atime, fileid_32bit, secure, and security attributes.
res = client.post_nfs_export_policies_rules(rule=NfsExportPolicyRule(client='@dev_group',
atime=True,
secure=True,
security=['sys'],
anongid='500'),
policy_names=[policyname])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
res_items = list(res.items)
print(res_items)
policy_version = res_items[0].policy_version
# Create a new export policy ensuring that the policy has not been changed since the last rule was added.
res = client.post_nfs_export_policies_rules(rule=NfsExportPolicyRule(client='*'),
policy_names=[policyname],
versions=[policy_version])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: policy_ids
# See section "Common Fields" for examples
Policiesnetworkaccessap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
get_network_access_policies
# list all network access policies
res = client.get_network_access_policies()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list network access policies specified by name
res = client.get_network_access_policies(names=['default-network-access-policy'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# List network access policies specified by id.
res = client.get_network_access_policies(ids=['83efe671-3265-af1e-6dd2-c9ff155c2a18'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: filter, limit, offset, sort, continuation_token
# See section "Common Fields" for examples
get_network_access_policies_members
# list all network access policies
res = client.get_network_access_policies_members()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# assume we have a policy named, and an array named "test-array"
res = client.get_network_access_policies_members(policy_names=["default-network-access-policy"],
member_names=["test-array"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list network access policies specified by name
res = client.get_network_access_policies_members(policy_names=['default-network-access-policy'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# List network access policies specified by member id.
res = client.get_network_access_policies_members(member_ids=['83efe671-3265-af1e-6dd2-c9ff155c2a18'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list only members with a specific policy by id
res = client.get_network_access_policies_members(policy_ids=["10314f42-020d-7080-8013-000ddt400012"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: filter, limit, offset, sort, continuation_token
# See section "Common Fields" for examples
patch_network_access_policies
from pypureclient.flashblade import NetworkAccessPolicy, NetworkAccessPolicyRule
# Rename the policy.
policy_attr = NetworkAccessPolicy(name='new-default-rules')
res = client.patch_network_access_policies(names=['default-network-access-policy'], policy=policy_attr)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Bulk specify a set of new rules for the policy.
# Note: The rules must be ordered by client type grouped by
# IP addresses, netmasks, and asterisk (*).
bulk_rules = [
NetworkAccessPolicyRule(client='1.2.3.4', effect='deny', interfaces=['snmp', 'management-ssh']),
NetworkAccessPolicyRule(client='*', interfaces=['snmp', 'management-ssh', 'management-web-ui'])
]
policy_attr = NetworkAccessPolicy(rules=bulk_rules)
res = client.patch_network_access_policies(names=['default-network-access-policy'], policy=policy_attr)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# update the network access policy with id '83efe671-3265-af1e-6dd2-c9ff155c2a18'
res = client.patch_network_access_policies(ids=['83efe671-3265-af1e-6dd2-c9ff155c2a18'],
policy=policy_attr)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
res_items = (list(res.items))
print(res_items)
# Other valid fields: ids, versions
# See section "Common Fields" for examples
delete_network_access_policies_rules
# delete a policy rule by name
client.delete_network_access_policies_rules(names=['default-network-access-policy.1'])
# delete a policy by name with a version specifier.
# The delete will fail if the policy version differs from specified version.
policy_version = '00000000-7b11-a468-0000-0000503669ea'
client.delete_network_access_policies_rules(names=['default-network-access-policy.1'], versions=[policy_version])
# delete a policy by ID
client.delete_network_access_policies_rules(ids=['2a37c647-19e9-4308-b469-89d9a9753160'])
get_network_access_policies_rules
# list all network access policy rules
res = client.get_network_access_policies_rules()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all network access policy rules for policy 'default-network-rules'
res = client.get_network_access_policies_rules(policy_names=['default-network-access-policy'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# List network access policy rule named 'default-network-rules.1' for policy 'default-network-rules'
res = client.get_network_access_policies_rules(names=['default-network-access-policy.1'],
policy_names=['default-network-access-policy'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: filter, limit, offset, sort, continuation_token, ids, policy_ids
# See section "Common Fields" for examples
patch_network_access_policies_rules
from pypureclient.flashblade import NetworkAccessPolicyRule
policyname = 'default-network-access-policy'
# Patch client policy rule 'default-network-rules.1' in network access policy named 'default-network-rules'
res = client.patch_network_access_policies_rules(names=[policyname+'.1'],
rule=NetworkAccessPolicyRule(effect='deny'))
# Patch a policy by name with a version specifier.
# The Patch will fail if the policy version differs from specified version.
policy_version = '00000000-7b11-a468-0000-0000503669ea'
res = client.patch_network_access_policies_rules(names=[policyname+'.1'],
rule=NetworkAccessPolicyRule(interfaces=['snmp']),
versions=[policy_version])
# Insert or Move a rule default-network-rules.1 rule before 'default-network-rules.2` in policy named 'default-network-rules'
res = client.patch_network_access_policies_rules(names=[policyname+'.1'],
before_rule_name=policyname+'.2',
rule=NetworkAccessPolicyRule(interfaces=['snmp', "management-ssh"]))
# Insert or Move a rule 'default-network-rules.1` before rule id `10314f42-020d-7080-8013-000ddt400012` in policy named 'default-network-rules'
res = client.patch_network_access_policies_rules(names=[policyname+'.1'],
before_rule_id="10314f42-020d-7080-8013-000ddt400012",
rule=NetworkAccessPolicyRule(client='1.1.1.1'))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids
# See section "Common Fields" for examples
post_network_access_policies_rules
from pypureclient.flashblade import NetworkAccessPolicyRule
policyname = 'default-network-access-policy'
# Create a new client policy rule in the policy named 'default-network-rules'
res = client.post_network_access_policies_rules(policy_names=[policyname],
rule=NetworkAccessPolicyRule(client='192.168.1.0/24', interfaces=['snmp']))
# Insert or Move a policy by name with a version specifier.
# The Post will fail if the policy version differs from specified version.
policy_version = '00000000-7b11-a468-0000-0000503669ea'
res = client.post_network_access_policies_rules(policy_names=[policyname],
rule=NetworkAccessPolicyRule(client='*', interfaces=['management-ssh']),
versions=[policy_version])
# Insert or Move a rule default-network-rules.1 rule before 'default-network-rules.2` in policy named 'default-network-rules'
res = client.post_network_access_policies_rules(before_rule_name=policyname+'.2',
policy_names=[policyname],
rule=NetworkAccessPolicyRule(client='*', interfaces=['management-ssh']))
# Insert or Move a rule 'default-network-rules.1` before rule id `10314f42-020d-7080-8013-000ddt400012` in policy named 'default-network-rules'
res = client.post_network_access_policies_rules(before_rule_id="10314f42-020d-7080-8013-000ddt400012",
policy_names=[policyname],
rule=NetworkAccessPolicyRule(client='*', interfaces=['management-ssh']))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: policy_ids
# See section "Common Fields" for examples
Policiesobjectstoreaccessap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
delete_object_store_access_policies
# delete a policy by name
client.delete_object_store_access_policies(names=["acc1/mypolicy"])
# delete a policy by ID
client.delete_object_store_access_policies(ids=["10314f42-020d-7080-8013-000ddt400012"])
get_object_store_access_policies
# list all object store access policies
res = client.get_object_store_access_policies()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Valid fields: continuation_token, filter, ids, limit, names, offset, sort
# See section "Common Fields" for examples
delete_object_store_access_policies_object_store_users
# remove a member from a policy
client.delete_object_store_access_policies_object_store_users(
member_names=["acc1/myobjuser"], policy_names=["pure:policy/bucket-list"])
# remove a member from a policy by id
client.delete_object_store_access_policies_object_store_users(
member_ids=["10314f42-020d-7080-8013-000ddt400090"], policy_ids=["10314f42-020d-7080-8013-000ddt400012"])
get_object_store_access_policies_object_store_users
# list access policies for object store users
res = client.get_object_store_access_policies_object_store_users()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list access policies for specific user
res = client.get_object_store_access_policies_object_store_users(member_names=["acc1/myobjuser"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list access policies for specific user by id
res = client.get_object_store_access_policies_object_store_users(member_ids=["10314f42-020d-7080-8013-000ddt400090"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list only users with full access
res = client.get_object_store_access_policies_object_store_users(policy_names=["pure:policy/full-access"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list only users with a specific policy by id
res = client.get_object_store_access_policies_object_store_users(policy_ids=["10314f42-020d-7080-8013-000ddt400012"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, limit, offset, sort
# See section "Common Fields" for examples
post_object_store_access_policies_object_store_users
# add a member to a policy
res = client.post_object_store_access_policies_object_store_users(
member_names=["acc1/myobjuser"], policy_names=["pure:policy/bucket-list"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# add a member to a policy by id
res = client.post_object_store_access_policies_object_store_users(
member_ids=["10314f42-020d-7080-8013-000ddt400090"], policy_ids=["10314f42-020d-7080-8013-000ddt400012"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
patch_object_store_access_policies
from pypureclient.flashblade import ObjectStoreAccessPolicy, PolicyRuleObjectAccess, PolicyRuleObjectAccessCondition
# update a policy by changing its rules, where some rules bypass our action restriction enforcement
rule = PolicyRuleObjectAccess(
name="myupdatedrule",
actions=["s3:ListBucket"],
resources=["mybucket/myobject"],
conditions=PolicyRuleObjectAccessCondition(
source_ips=["1.2.3.4"],
s3_prefixes=["home/"],
s3_delimiters=["/"],
),
effect="deny"
)
policy = ObjectStoreAccessPolicy(
rules=[rule]
)
res = client.patch_object_store_access_policies(
names=["acc1/mypolicy"], policy=policy, enforce_action_restrictions=False)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# update a different policy with the same rules, but by ID this time
res = client.patch_object_store_access_policies(
ids=["10314f42-020d-7080-8013-000ddt400012"], policy=policy, enforce_action_restrictions=False)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
post_object_store_access_policies
from pypureclient.flashblade import ObjectStoreAccessPolicyPost, PolicyRuleObjectAccess, PolicyRuleObjectAccessCondition
# create a basic policy (no description, no rules yet)
res = client.post_object_store_access_policies(names=["acc1/mypolicy"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# create a policy with a description and some rules, where some rules bypass our action restriction enforcement
rule = PolicyRuleObjectAccess(
name="myrule",
actions=["s3:ListBucket"],
resources=["mybucket/myobject"],
conditions=PolicyRuleObjectAccessCondition(
source_ips=["1.2.3.4"],
s3_prefixes=["home/"],
s3_delimiters=["/"],
),
effect="deny"
)
policy = ObjectStoreAccessPolicyPost(
description="This is my policy description.",
rules=[rule]
)
res = client.post_object_store_access_policies(
names=["acc1/mynewpolicy"], policy=policy, enforce_action_restrictions=False)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
delete_object_store_access_policies_rules
# delete a rule by policy name
client.delete_object_store_access_policies_rules(policy_names=["acc1/mypolicy"], names=["myrule"])
# delete by policy ID
client.delete_object_store_access_policies_rules(
policy_ids=["10314f42-020d-7080-8013-000ddt400012"], names=["myrule"])
get_object_store_access_policies_rules
# list all object store access policy rules
res = client.get_object_store_access_policies_rules()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list rules for specific policy
res = client.get_object_store_access_policies_rules(policy_names=["pure:policy/full-access"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list rules for specific policy by id
res = client.get_object_store_access_policies_rules(policy_ids=["10314f42-020d-7080-8013-000ddt400012"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list specific rule
res = client.get_object_store_access_policies_rules(policy_names=["pure:policy/full-access"], names=["myrule"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, limit, offset, sort
# See section "Common Fields" for examples
patch_object_store_access_policies_rules
from pypureclient.flashblade import PolicyRuleObjectAccess, PolicyRuleObjectAccessCondition
rule = PolicyRuleObjectAccess(
actions=["s3:ListBucket"],
resources=["*"],
conditions=PolicyRuleObjectAccessCondition(
source_ips=["1.2.3.4"],
s3_prefixes=["home/"],
s3_delimiters=["/"],
),
effect="deny"
)
res = client.patch_object_store_access_policies_rules(policy_names=["acc1/mypolicy"], names=["myrule"], rule=rule)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# update the rule in a way which doesn't follow our action restrictions; also use policy ID instead of name
rule = PolicyRuleObjectAccess(
actions=["s3:ListBucket"],
resources=["mybucket/myobject"],
conditions=PolicyRuleObjectAccessCondition(
source_ips=["1.2.3.4"],
s3_prefixes=["home/"],
s3_delimiters=["/"],
),
effect="allow"
)
res = client.patch_object_store_access_policies_rules(
policy_ids=["10314f42-020d-7080-8013-000ddt400012"], names=["myrule"], rule=rule, enforce_action_restrictions=False)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
post_object_store_access_policies_rules
from pypureclient.flashblade import PolicyRuleObjectAccessPost, PolicyRuleObjectAccessCondition
rule = PolicyRuleObjectAccessPost(
actions=["s3:ListBucket"],
resources=["*"],
conditions=PolicyRuleObjectAccessCondition(
source_ips=["1.2.3.4"],
s3_prefixes=["home/"],
s3_delimiters=["/"],
),
effect="deny"
)
res = client.post_object_store_access_policies_rules(policy_names=["acc1/mypolicy"], names=["myrule"], rule=rule)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# create a rule which doesn't follow our action restrictions; also use policy ID instead of name
rule2 = PolicyRuleObjectAccessPost(
actions=["s3:ListBucket"],
resources=["mybucket/myobject"],
conditions=PolicyRuleObjectAccessCondition(
source_ips=["1.2.3.4"],
s3_prefixes=["home/"],
s3_delimiters=["/"],
),
effect="allow"
)
res = client.post_object_store_access_policies_rules(
policy_ids=["10314f42-020d-7080-8013-000ddt400012"], names=["myrule2"], rule=rule2, enforce_action_restrictions=False)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
get_object_store_access_policy_actions
# list all object store access policy actions
res = client.get_object_store_access_policy_actions()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Valid fields: continuation_token, filter, limit, names, offset, sort
# See section "Common Fields" for examples
Policiespasswordap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
get_password_policies
# Get all password policies
res = client.get_password_policies()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# get a password policy
res = client.get_password_policies(names=['policy-name'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# get a password policy by id
res = client.get_password_policies(ids=['10314f42-020d-7080-8013-000ddt400013'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: filter, limit, offset, sort, continuation_token
# See section "Common Fields" for examples
patch_password_policies
from pypureclient.flashblade.FB_2_16 import PasswordPolicy
# update a password policy
policy_body = PasswordPolicy(
enabled=True,
lockout_duration=0,
max_login_attempts=0,
min_password_length=0,
password_history=0,
min_password_age=0,
enforce_username_check=False,
min_character_groups=0,
min_characters_per_group=0,
enforce_dictionary_check=False,
)
res = client.patch_password_policies(names='management',
policy=policy_body)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
res_items = (list(res.items))
print(res_items)
# Other valid fields: ids
# See section "Common Fields" for examples
Policiesqosap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
Policiessmbclientap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
delete_smb_client_policies
# delete a policy by name
client.delete_smb_client_policies(names=["client_policy_1"])
# delete a policy by ID
client.delete_smb_client_policies(ids=["10314f42-020d-7080-8013-000ddt400012"])
get_smb_client_policies
# list all smb client policies
res = client.get_smb_client_policies()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list smb client policies specified by name
res = client.get_smb_client_policies(names=['client_policy_1'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# List smb client policies specified by id.
res = client.get_smb_client_policies(ids=['83efe671-3265-af1e-6dd2-c9ff155c2a18'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: filter, limit, offset, sort, continuation_token
# See section "Common Fields" for examples
patch_smb_client_policies
from pypureclient.flashblade import SmbClientPolicy, SmbClientPolicyRule
# Bulk specify a new rule for the policy.
# Note: The rules must be ordered by client type grouped by
# IP addresses, (hostname, FQDN, netmasks), and asterisk (*).
bulk_rules = [
SmbClientPolicyRule(client='*', permission='ro', encryption='required')
]
policy_attr = SmbClientPolicy(rules=bulk_rules)
res = client.patch_smb_client_policies(names=["client_policy_1"], policy=policy_attr)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# update the smb client policy with id '83efe671-3265-af1e-6dd2-c9ff155c2a18'
res = client.patch_smb_client_policies(ids=['83efe671-3265-af1e-6dd2-c9ff155c2a18'],
policy=policy_attr)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
res_items = (list(res.items))
print(res_items)
# Other valid fields: ids
# See section "Common Fields" for examples
post_smb_client_policies
from pypureclient.flashblade import SmbClientPolicy, SmbClientPolicyRule
# Create a client policy with a rule which allows Read (but no other) permissions and
# requires encryption for everyone.
policyname = 'client_policy_1'
policy = SmbClientPolicy()
policy.rules = [SmbClientPolicyRule(client='*', permission='ro', encryption='required')]
res = client.post_smb_client_policies(names=[policyname], policy=policy)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
delete_smb_client_policies_rules
# delete a policy rule by name
client.delete_smb_client_policies_rules(names=['client_policy_1.1'])
# delete a policy by name with a version specifier.
# The delete will fail if the policy version differs from specified version.
policy_version = '00000000-7b11-a468-0000-0000503669ea'
client.delete_smb_client_policies_rules(names=['client_policy_1.1'], versions=[policy_version])
# delete a policy by ID
client.delete_smb_client_policies_rules(ids=['2a37c647-19e9-4308-b469-89d9a9753160'])
get_smb_client_policies_rules
# list all smb client policy rules
res = client.get_smb_client_policies_rules()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all smb client policy rules for client policy 'client_policy_1'
res = client.get_smb_client_policies_rules(policy_names=['client_policy_1'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# List smb client policy rule named 'client_policy_1.1' for policy 'client_policy_1'
res = client.get_smb_client_policies_rules(policy_names=['client_policy_1'],
names=['client_policy_1.1'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: filter, limit, offset, sort, continuation_token, ids, policy_ids
# See section "Common Fields" for examples
patch_smb_client_policies_rules
from pypureclient.flashblade import SmbClientPolicyRule
policyname = 'client_policy_1'
# Patch client policy rule 'client_policy_1.1' in client policy named 'client_policy_1'
res = client.patch_smb_client_policies_rules(names=[policyname+'.1'],
rule=SmbClientPolicyRule(permission='ro', encryption='required'))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Patch a policy by name with a version specifier.
# The Patch will fail if the policy version differs from specified version.
policy_version = '00000000-7b11-a468-0000-0000503669ea'
res = client.patch_smb_client_policies_rules(names=[policyname+'.1'],
rule=SmbClientPolicyRule(permission='ro', encryption='required'),
versions=[policy_version])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Insert or Move a rule client_policy_1.1 rule before 'client_policy_1.2` in client policy named 'client_policy_1'
res = client.patch_smb_client_policies_rules(names=[policyname+'.1'],
before_rule_name=[policyname+'.2'],
rule=SmbClientPolicyRule(permission='ro', encryption='required'))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Insert or Move a rule 'client_policy_1.1` before rule id `10314f42-020d-7080-8013-000ddt400012` in client policy named 'client_policy_1'
res = client.patch_smb_client_policies_rules(names=[policyname+'.1'],
before_rule_id=["10314f42-020d-7080-8013-000ddt400012"],
rule=SmbClientPolicyRule(permission='ro', encryption='required'))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids
# See section "Common Fields" for examples
post_smb_client_policies_rules
from pypureclient.flashblade import SmbClientPolicyRule
policyname = 'client_policy_1'
# Create a new client policy rule in the client policy named 'client_policy_1'
# with specified client, permission, and encryption
res = client.post_smb_client_policies_rules(policy_names=[policyname],
rule=SmbClientPolicyRule(client='*', permission='ro', encryption='required'))
# Insert or Move a policy by name with a version specifier.
# The Post will fail if the policy version differs from specified version.
policy_version = '00000000-7b11-a468-0000-0000503669ea'
res = client.post_smb_client_policies_rules(policy_names=[policyname],
rule=SmbClientPolicyRule(client='*', permission='ro', encryption='required'),
versions=[policy_version])
# Insert or Move a rule client_policy_1.1 rule before 'client_policy_1.2` in client policy named 'client_policy_1'
res = client.post_smb_client_policies_rules(before_rule_name=[policyname+'.2'],
policy_names=[policyname],
rule=SmbClientPolicyRule(client='*', permission='ro', encryption='required'))
# Insert or Move a rule 'client_policy_1.1` before rule id `10314f42-020d-7080-8013-000ddt400012` in client policy named 'client_policy_1'
res = client.post_smb_client_policies_rules(before_rule_id=["10314f42-020d-7080-8013-000ddt400012"],
policy_names=[policyname],
rule=SmbClientPolicyRule(client='*', permission='ro', encryption='required'))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: policy_ids
# See section "Common Fields" for examples
Policiessnapshotap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
delete_policies
# delete a policy name p1
client.delete_policies(names=["p1"])
# Other valid fields: ids
# See section "Common Fields" for examples
delete_policies_file_system_replica_links
client.delete_policies_file_system_replica_links(
policy_names=['policy_1'],
local_file_system_names=['local_fs'],
remote_names=['myremote'])
# Other valid fields: policy_ids, local_file_system_ids, remote_ids, member_ids
# See section "Common Fields" for examples
get_policies_file_system_replica_links
# list all replica link and policy connections
res = client.get_policies_file_system_replica_links()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list first five replica link and policy connections and sort by policy name
res = client.get_policies_file_system_replica_links(limit=5, sort='policy.name')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list remaining replica link and policies connections
res = client.get_policies_file_system_replica_links(
continuation_token=res.continuation_token)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list a specific replica link and policy connection
res = client.get_policies_file_system_replica_links(
policy_names=['policy_1'],
local_file_system_names=['local_fs'],
remote_names=['myremote'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: filter, local_file_system_ids, member_ids, offset, policy_ids, remote_ids,
# remote_file_system_ids, remote_file_system_names
# See section "Common Fields" for examples
post_policies_file_system_replica_links
res = client.post_policies_file_system_replica_links(
policy_names=['policy_1'],
local_file_system_names=['local_fs'],
remote_names=['myremote'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: policy_ids, local_file_system_ids, remote_ids, member_ids
# See section "Common Fields" for examples
delete_policies_file_system_snapshots
# attach policy to a file system snapshot
# assume we have a policy named "p1", and a file system snapshot named "myfs.suffix"
client.delete_policies_file_system_snapshots(policy_names=["p1"],
member_names=["myfs.suffix"])
# Other valid fields: policy_ids, member_ids
# See section "Common Fields" for examples
get_policies_file_system_snapshots
# list all policies
res = client.get_policies_file_system_snapshots()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# assume we have a policy named "p1", and a file system snapshot named "myfs.1"
res = client.get_policies_file_system_snapshots(policy_names=["p1"],
member_names=["myfs.1"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# assume we have a policy with id "10314f42-020d-7080-8013-000ddt400090",
# and a file system snapshot with name "myfs.2"
res = client.get_policies_file_system_snapshots(policy_ids=["10314f42-020d-7080-8013-000ddt400090"],
member_names=["myfs.2"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list and sort by name in descendant order
res = client.get_policies_file_system_snapshots(limit=5, sort="policy.name-")
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list with page size 5
res = client.get_policies_file_system_snapshots(limit=5)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, member_ids, offset
# See section "Common Fields" for examples
delete_policies_file_systems
# attach policy to a file system
# assume we have a policy named "p1", and a file system named "myfs"
client.delete_policies_file_systems(policy_names=["p1"],
member_names=["myfs"])
# Other valid fields: policy_ids, member_ids
# See section "Common Fields" for examples
get_policies_file_systems
# list all policies
res = client.get_policies_file_systems()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# assume we have a policy named "p1", and a file system named "myfs"
res = client.get_policies_file_systems(policy_names=["p1"],
member_names=["myfs"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list and sort by name in descendant order
res = client.get_policies_file_systems(limit=5, sort="policy.name-")
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list with page size 5
res = client.get_policies_file_systems(limit=5)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all remaining policies
res = client.get_policies_file_systems(continuation_token=res.continuation_token)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: filter, member_ids, policy_ids, offset
# See section "Common Fields" for examples
post_policies_file_systems
# attach policy to a file system
# assume we have a policy named "p1", and a file system named "myfs"
res = client.post_policies_file_systems(policy_names=["p1"],
member_names=["myfs"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: member_ids, policy_ids
# See section "Common Fields" for examples
get_policies
# list all policies
res = client.get_policies()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list and sort by name in descendant order
res = client.get_policies(limit=5, sort="name-")
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list with page size 5
res = client.get_policies(limit=5)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all remaining policies
res = client.get_policies(continuation_token=res.continuation_token)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: filter, ids, names, offset, sort
# See section "Common Fields" for examples
get_policies_members
# list all policies
res = client.get_policies_members()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# assume we have a policy named "p1", and a file system named "myfs"
res = client.get_policies_members(policy_names=["p1"],
member_names=["myfs"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
res = client.get_policies_members(policy_names=["p1"],
member_names=["myfs"],
remote_names=["myremote"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# assume we have a policy named "p1", and a file system snapshot named "myfs.1"
res = client.get_policies_members(policy_names=["p1"],
member_names=["myfs.1"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list and sort by name in descendant order
res = client.get_policies_members(limit=5, sort="policy.name-")
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list with page size 5
res = client.get_policies_members(limit=5)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all remaining policies
res = client.get_policies_members(continuation_token=res.continuation_token)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: filter, local_file_system_ids, local_file_system_names, member_ids, member_types,
# offset, policy_ids, remote_ids, remote_file_system_ids, remote_file_system_names
# See section "Common Fields" for examples
patch_policies
from pypureclient.flashblade import PolicyPatch, PolicyRule
# Update the policy "p1", and set the "enabled" field to "False", add a rule and remove a rule
# By passing destroy_snapshots=True, we accept that snapshots created by the
# removed rule will be destroyed.
rule_to_be_removed = PolicyRule(every=1000*60*5, keep_for=1000*60*60)
rule_to_be_added = PolicyRule(every=1000*60*10, keep_for=1000*60*60)
res = client.patch_policies(
names=["p1"],
destroy_snapshots=True,
policy=PolicyPatch(enabled=False,
remove_rules=[rule_to_be_removed],
add_rules=[rule_to_be_added]))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids
# See section "Common Fields" for examples
post_policies
from pypureclient.flashblade import Policy, PolicyRule
# post a policy object p1 on the array
attr = Policy(enabled=True,
rules=[
# Take a snapshot every 5m and keep for 1h
PolicyRule(every=1000*60*5, keep_for=1000*60*60)
])
res = client.post_policies(names=["p1"], policy=attr)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
Policiestlsap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
Policieswormdataap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
delete_worm_data_policies
# Delete a WORM data policy
res = client.delete_worm_data_policies(names=['worm-policy-name'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids
# See section "Common Fields" for examples
get_worm_data_policies
# Get all WORM data policies
res = client.get_worm_data_policies()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# get a WORM data policy
res = client.get_worm_data_policies(names=['policy-name'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# get a WORM data policy by id
res = client.get_worm_data_policies(ids=['10314f42-020d-7080-8013-000ddt400013'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: filter, limit, offset, sort, continuation_token
# See section "Common Fields" for examples
get_worm_data_policies_members
# Get all WORM data policy members
res = client.get_worm_data_policies_members()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list by policy name
res = client.get_worm_data_policies_members(
policy_names=['test-policy-name']
)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list by member name
res = client.get_worm_data_policies_members(
member_names=['member-name']
)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list by policy ids
res = client.get_worm_data_policies_members(
policy_ids=['10314f42-0120d-7080-8013-000ddt400013']
)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list by member ids
res = client.get_worm_data_policies_members(
member_ids=['10314f42-020d-7080-8013-000ddt400014']
)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: filter, limit, offset, sort, continuation_token
# See section "Common Fields" for examples
patch_worm_data_policies
from pypureclient.flashblade.FB_2_15 import WormDataPolicy
# update a WORM data policy
policy_body = WormDataPolicy(
enabled=True, retention_lock='unlocked', mode='compliance',
min_retention=1000, max_retention=10000, default_retention=5000)
res = client.patch_worm_data_policies(names=['worm-policy-name'],
policy=policy_body)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
res_items = (list(res.items))
print(res_items)
# Other valid fields: ids
# See section "Common Fields" for examples
post_worm_data_policies
from pypureclient.flashblade.FB_2_15 import WormDataPolicy
# create a WORM data policy
policy_body = WormDataPolicy(
enabled=True, retention_lock='unlocked', mode='compliance',
min_retention=1000, max_retention=10000, default_retention=5000)
res = client.post_worm_data_policies(names=['worm-policy-name'],
policy=policy_body)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
res_items = (list(res.items))
print(res_items)
Publickeysap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
delete_public_keys
# delete public key named "test-key"
client.delete_public_keys(names=['test-key'])
# Other valid fields: ids
# See section "Common Fields" for examples
get_public_keys
# list all public keys
res = client.get_public_keys()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list keys by providing key names
res = client.get_public_keys(names=['ad-key-1', 'some-other-key'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, ids, limit, offset, sort
# See section "Common Fields" for examples
post_public_keys
from pypureclient.flashblade.FB_2_14 import PublicKeyPost
key = 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCxlwM29F5T4V+rfKt0sxa25/WVYvNCzzIx8K4BkFDgcOMg3i0Cui4KvDRZ1uVuOxINmjIxEXWNIF/kJh0upMebvsjW11y5pIcqgIQBIDG3vT/xS/6FNCUI+d9Uv8qEyty0OBrDkqmRYxMjlVt4P7RQyRhbIKVEFVr1MeuL3besqLBmtQCIfZDa/rvcmrtMpA6eD//kfISwVUr1qvR41b3iBHwYPaU6D+hWlv1dqcGZ3eNJfGrfx2V02mnhn7y15pr7eUtUhY90gVt6YopnH8o56HC+UBxbzQx6qmKefRyoZSV2DFKYghrIpTouV3SF27db5u/umCvbrN+LDUbQkMscJpNg+FKXy7vPA03rzeXu02+F1B9mLGTDB/eNwbNGyREWndV5gdMexPidffG099/DUPs1f+t5PhnURPoN9GaOjb18mkWDeystxmfaQZs5DMFNwj5aerqZZsucaKuFixsaCh+D+SczjFAjzbq8HG7zwLGnYMx0Tqe09bPbSGrmC5s= example2@purestorage.com'
key_body = PublicKeyPost(public_key=key)
res = client.post_public_keys(names=['rsa-key'], public_key=key_body)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
get_public_keys_uses
# list all public keys uses
res = client.get_public_keys_uses()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list key uses by providing key names
res = client.get_public_keys_uses(names=['ad-key-1', 'some-other-key'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, ids, limit, offset, sort
# See section "Common Fields" for examples
Quotasap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
delete_quotas_groups
# Assume you have a file system named quotaFs
file_system_name = "quotaFs"
# Delete the quotas of groups on the file system with ids 998 and 999
client.delete_quotas_groups(file_system_names=[file_system_name], gids=[998, 999])
# Delete the quotas of groups on the file system with names group1 and group2
client.delete_quotas_groups(file_system_names=[file_system_name],
group_names=["group1", "group2"])
# Other valid fields: file_system_ids, names
# See section "Common Fields" for examples
get_quotas_groups
# List all group quotas for the file system
res = client.get_quotas_groups(file_system_names=["quotaFs"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, file_system_ids, filter, gids, group_names,
# limit, names, offset, sort
# See section "Common Fields" for examples
patch_quotas_groups
from pypureclient.flashblade import GroupQuota
file_system_name = "quotaFs"
# Update the quota for the groups with with ids 998 and 999 to be 2048000
res = client.patch_quotas_groups(file_system_names=[file_system_name],
gids=[998, 999],
quota=GroupQuota(quota=2048000))
# print the created quotas
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Update the quota for the groups with names group1 and group2 to be 1024000
res = client.patch_quotas_groups(file_system_names=[file_system_name],
group_names=["group1", "group2"],
quota=GroupQuota(quota=1024000))
# print the updated quotas
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: file_system_ids, names
# See section "Common Fields" for examples
post_quotas_groups
from pypureclient.flashblade import GroupQuota
file_system_name = "quotaFs"
# Add a quota of 1024000 for the file system to apply to the groups with ids 998 and 999
res = client.post_quotas_groups(file_system_names=[file_system_name], gids=[998, 999],
quota=GroupQuota(quota=1024000))
# print the created quotas
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Add a quota of 2048000 for the file system to apply to the groups with names group1 and group2
res = client.post_quotas_groups(file_system_names=[file_system_name],
group_names=["group1", "group2"],
quota=GroupQuota(quota=2048000))
# print the created quotas
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: file_system_ids
# See section "Common Fields" for examples
get_quotas_settings
# check the contact info being sent to end users and groups regarding their quotas, and
# check if direct notifications to them are enabled
res = client.get_quotas_settings()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids, names
# See section "Common Fields" for examples
patch_quotas_settings
from pypureclient.flashblade import QuotaSetting
# set our contact info to a person and their email, and enable direct notification of
# users and groups regarding their quotas
new_contact = 'John Doe - j.doe@mycompany.com'
update_settings = QuotaSetting(contact=new_contact, direct_notifications_enabled=True)
res = client.patch_quotas_settings(quota_setting=update_settings)
# print the result of our update for record keeping
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
delete_quotas_users
# Assume you have a file system named quotaFs
file_system_name = "quotaFs"
# Delete the quotas of users on the file system with ids 123 and 124
client.delete_quotas_users(file_system_names=[file_system_name], uids=[123, 124])
# Delete the quotas of users on the file system with names user1 and user2
client.delete_quotas_users(file_system_names=[file_system_name],
user_names=["user1", "user2"])
# Other valid fields: file_system_ids, names
# See section "Common Fields" for examples
get_quotas_users
# List all user quotas for the file system
res = client.get_quotas_users(file_system_names=["quotaFs"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, file_system_ids, filter, limit, names, offset, sort,
# uids, user_names
# See section "Common Fields" for examples
patch_quotas_users
from pypureclient.flashblade import UserQuota
file_system_name = "quotaFs"
# Update the quota for users with ids 123 and 124 to be 2048 bytes
res = client.patch_quotas_users(file_system_names=[file_system_name],
uids=[123, 124],
quota=UserQuota(quota=2048))
# print the updated quotas
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Update the quota for users with names user1 and user2 to be 1024 bytes
res = client.patch_quotas_users(file_system_names=[file_system_name],
user_names=["user1", "user2"],
quota=UserQuota(quota=1024))
# print the updated quotas
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: file_system_ids, names
# See section "Common Fields" for examples
post_quotas_users
from pypureclient.flashblade import UserQuota
file_system_name = "quotaFs"
# Add a quota of 1024 for the file system to apply to the users with ids 123 and 124
res = client.post_quotas_users(file_system_names=[file_system_name], uids=[123, 124],
quota=UserQuota(quota=1024))
# print the created quotas
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Add a quota of 2048 for the file system to apply to the users with names user1 and user2
res = client.post_quotas_users(file_system_names=[file_system_name],
user_names=["user1", "user2"],
quota=UserQuota(quota=2048))
# print the created quotas
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: file_system_ids
# See section "Common Fields" for examples
Rdlap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
get_rapid_data_locking
# List Rapid Data Locking configuration
res = client.get_rapid_data_locking()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
patch_rapid_data_locking
from pypureclient.flashblade import RapidDataLocking, Reference
# Enable Rapid Data Locking
kmip_server_name = 'kmip-server-1'
kmip_server_ref = Reference(name=kmip_server_name, resource_type="kmip")
create_body = RapidDataLocking(enabled=True, kmip_server=kmip_server_ref)
res = client.patch_rapid_data_locking(rapid_data_locking=create_body)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
post_rapid_data_locking_rotate
# Rotate the external RDL key
res = client.post_rapid_data_locking_rotate()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
get_rapid_data_locking_test
# Test Rapid Data Locking
res = client.get_rapid_data_locking_test()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
Remotearraysap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
Rolesap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
get_roles
# list all roles
res = client.get_roles()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list role for readonly user
res = client.get_roles(names=["readonly"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, ids, filter, limit, offset, sort
# See section "Common Fields" for examples
Saml2ssoap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
delete_sso_saml2_idps
# Delete an SSO SAML2 configuration by name.
res = client.delete_sso_saml2_idps(names=['test-sso'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Delete an SSO SAML2 configuration by ID.
res = client.delete_sso_saml2_idps(ids=['10314f42-020d-7080-8013-000ddt400012'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
get_sso_saml2_idps
# Get all SSO SAML2 configurations
res = client.get_sso_saml2_idps()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Get an SSO SAML2 configuration by name
res = client.get_sso_saml2_idps(names=['test-sso'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Get an SSO SAML2 configuration by ID
res = client.get_sso_saml2_idps(ids=['10314f42-020d-7080-8013-000ddt400012'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: filter, limit, offset, sort, continuation_token
# See section "Common Fields" for examples
patch_sso_saml2_idps
from pypureclient.flashblade.FB_2_15 import Saml2Sso, Saml2SsoIdp, Saml2SsoSp, Reference
# Update an SSO SAML2 configuration
verification_cert = Reference(name='verification-cert', resource_type='certificates')
signing_cert = Reference(name='signing-cert', resource_type='certificates')
decryption_cert = Reference(name='decryption-cert', resource_type='certificates')
idp = Saml2SsoIdp(entity_id='http://test-entity-id',
url='https://test-sso-url',
metadata_url='https://test-metadata-url',
sign_request_enabled=True,
encrypt_assertion_enabled=True,
verification_certificate=verification_cert)
sp = Saml2SsoSp(signing_credential=signing_cert,
decryption_credential=decryption_cert)
sso = Saml2Sso(enabled=True, array_url='https://test-array-url', idp=idp, sp=sp)
res = client.patch_sso_saml2_idps(names=['test-sso'], idp=sso)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
res_items = (list(res.items))
print(res_items)
# Other valid fields: ids
# See section "Common Fields" for examples
post_sso_saml2_idps
from pypureclient.flashblade.FB_2_15 import Saml2SsoPost, Saml2SsoIdp, Saml2SsoSp, Reference
# Create an SSO SAML2 configuration
verification_cert = Reference(name='verification-cert', resource_type='certificates')
signing_cert = Reference(name='signing-cert', resource_type='certificates')
decryption_cert = Reference(name='decryption-cert', resource_type='certificates')
idp = Saml2SsoIdp(entity_id='http://test-entity-id',
url='https://test-sso-url',
metadata_url='https://test-metadata-url',
sign_request_enabled=True,
encrypt_assertion_enabled=True,
verification_certificate=verification_cert)
sp = Saml2SsoSp(signing_credential=signing_cert,
decryption_credential=decryption_cert)
sso = Saml2SsoPost(enabled=True, array_url='https://test-array-url', idp=idp, sp=sp)
res = client.post_sso_saml2_idps(names=['test-sso'], idp=sso)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
res_items = (list(res.items))
print(res_items)
get_sso_saml2_idps_test
# Get all SSO SAML2 configurations test results
res = client.get_sso_saml2_idps_test()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Get an SSO SAML2 configuration test results by name
res = client.get_sso_saml2_idps_test(names=['test-sso'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Get an SSO SAML2 configuration test results by ID
res = client.get_sso_saml2_idps_test(ids=['10314f42-020d-7080-8013-000ddt400012'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: filter, limit, sort
# See section "Common Fields" for examples
patch_sso_saml2_idps_test
from pypureclient.flashblade.FB_2_DEV import Saml2Sso, Saml2SsoIdp, Saml2SsoSp, Reference
# Update an SSO SAML2 configuration test
verification_cert = Reference(name='verification-cert', resource_type='certificates')
signing_cert = Reference(name='signing-cert', resource_type='certificates')
decryption_cert = Reference(name='decryption-cert', resource_type='certificates')
idp = Saml2SsoIdp(entity_id='http://test-entity-id',
url='https://test-sso-url',
metadata_url='https://test-metadata-url',
sign_request_enabled=True,
encrypt_assertion_enabled=True,
verification_certificate=verification_cert)
sp = Saml2SsoSp(signing_credential=signing_cert,
decryption_credential=decryption_cert)
sso = Saml2Sso(enabled=True, array_url='https://test-array-url', idp=idp, sp=sp)
res = client.patch_sso_saml2_idps_test(names=['test-sso'], idp=sso)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
res_items = (list(res.items))
print(res_items)
# Other valid fields: ids
# See section "Common Fields" for examples
Smtpap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
get_smtp_servers
res = client.get_smtp_servers() # The SMTP properties are related to alert routing
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Valid fields: continuation_token, filter, ids, limit, names, offset, sort
# See section "Common Fields" for examples
patch_smtp_servers
from pypureclient.flashblade import SmtpServer
# Update the SMTP server settings to use the specified relay host, sender domain and encryption mode
smtp_settings = SmtpServer(relay_host="test-host.com", sender_domain="purestorage.com", encryption_mode="starttls")
res = client.patch_smtp_servers(smtp=smtp_settings)
# print the updated SMTP server settings
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
Snmpagentsap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
get_snmp_agents
# list the array's snmp agents
res = client.get_snmp_agents()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, ids, limit, names, offset, sort
# See section "Common Fields" for examples
get_snmp_agents_mib
# list the array's SNMP agent MIB
res = client.get_snmp_agents_mib()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
patch_snmp_agents
from pypureclient.flashblade import SnmpV3, SnmpAgent, SnmpV2c
# update the snmp agent using snmpv2c to use snmpv3 with v3 attributes
# there is only one snmp agent on the system
new_v3_attrs = SnmpV3(auth_protocol='SHA', auth_passphrase='my-password-1!',
privacy_protocol='AES', privacy_passphrase='min8chars',
user='service-account-1')
agent_v3_update_attrs = SnmpAgent(version='v3', v3=new_v3_attrs)
# updating the agent to use v3 instead of v2c will automatically clear out v2c
# attributes
res = client.patch_snmp_agents(snmp_agent=agent_v3_update_attrs)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# update an snmp agent using snmpv3 to use snmpv2c with v2c attributes
new_v2_attrs = SnmpV2c(community='community-for-informs-and-traps')
agent_v2c_update_attrs = SnmpAgent(version='v2c', v2c=new_v2_attrs)
# updating the agent to use v2c instead of v3 will automatically clear out v3
# attributes
res = client.patch_snmp_agents(snmp_agent=agent_v2c_update_attrs)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
Snmpmanagersap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
delete_snmp_managers
# delete the snmp manager with the name 'my-v3-manager'
manager_name = 'my-v3-manager'
client.delete_snmp_managers(names=[manager_name])
# list all snmp managers using v2c as their snmp version and then delete them, thus cleaning
# up managers on older versions
version_filter_string = '(version="v2c")'
res = client.get_snmp_managers(filter=version_filter_string)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
items = list(res.items)
print(items)
for snmp_manager in items:
name_to_delete = snmp_manager.name
client.delete_snmp_managers(names=[name_to_delete])
# Other valid fields: ids
# See section "Common Fields" for examples
get_snmp_managers
# list all snmp managers
res = client.get_snmp_managers()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list the snmp manager with the name 'my-v3-manager'
manager_name = 'my-v3-manager'
res = client.get_snmp_managers(names=[manager_name])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all snmp managers using v3 as their snmp version
version_filter_string = '(version="v3")'
res = client.get_snmp_managers(filter=version_filter_string)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all snmp managers sorting by host
sort_string = 'host'
res = client.get_snmp_managers(sort=sort_string)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, ids, limit, offset
# See section "Common Fields" for examples
patch_snmp_managers
from pypureclient.flashblade import SnmpV3, SnmpManager, SnmpV2c
# update an snmp trap manager using snmpv2c with the name 'my-manager' to use snmpv3
# with v3 attributes
new_v3_attrs = SnmpV3(auth_protocol='SHA', auth_passphrase='my-password-1!',
privacy_protocol='AES', privacy_passphrase='min8chars',
user='service-account-1')
manager_v3_update_attrs = SnmpManager(version='v3', v3=new_v3_attrs)
existing_manager_name = 'my-v3-manager'
# updating the manager to use v3 instead of v2c will automatically clear out v2c
# attributes
res = client.patch_snmp_managers(names=[existing_manager_name],
snmp_manager=manager_v3_update_attrs)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# update an snmp trap manager using snmpv3 with the name 'my-manager-2' to use snmpv2c
# with v2c attributes
new_v2_attrs = SnmpV2c(community='community-for-informs-and-traps')
manager_v2c_update_attrs = SnmpManager(version='v2c', v2c=new_v2_attrs)
existing_manager_name = 'my-v2c-manager'
# updating the manager to use v2c instead of v3 will automatically clear out v3
# attributes
res = client.patch_snmp_managers(names=[existing_manager_name],
snmp_manager=manager_v2c_update_attrs)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids
# See section "Common Fields" for examples
post_snmp_managers
from pypureclient.flashblade import SnmpV3, SnmpManagerPost, SnmpV2c
snmp_host = 'snmphost1.example.gov'
# create an snmp trap manager using snmpv3 with the name 'my-v3-manager' and appropriate
# v3 attributes
v3_attrs = SnmpV3(auth_protocol='SHA', auth_passphrase='my-password-1!',
privacy_protocol='AES', privacy_passphrase='min8chars',
user='service-account-1')
new_v3_manager = SnmpManagerPost(host=snmp_host, notification='trap',
version='v3', v3=v3_attrs)
v3_manager_name = 'my-v3-manager'
res = client.post_snmp_managers(names=[v3_manager_name],
snmp_manager=new_v3_manager)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# create an snmp inform manager using snmpv2c with the name 'my-v2c-manager' and appropriate
# v2c attributes
v2_attrs = SnmpV2c(community='some-community-for-informs')
new_v2c_manager = SnmpManagerPost(host=snmp_host, notification='inform',
version='v2c', v2c=v2_attrs)
v2c_manager_name = 'my-v2c-manager'
res = client.post_snmp_managers(names=[v2c_manager_name],
snmp_manager=new_v2c_manager)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
get_snmp_managers_test
# test the snmp manager with the name 'my-v3-manager'
manager_name = 'my-v3-manager'
res = client.get_snmp_managers_test(names=[manager_name])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# test the snmp manager with the id '10314f42-020d-7080-8013-000ddt400090'
manager_id = '10314f42-020d-7080-8013-000ddt400090'
res = client.get_snmp_managers_test(ids=[manager_id])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, limit, offset, sort
# See section "Common Fields" for examples
Serversap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
delete_servers
# Delete servers
# Please note: cascade_delete parameter is required
res = client.delete_servers(names=['myserver'], cascade_delete='directory-services')
# Other valid fields: ids, references
# See section "Common Fields" for examples
get_servers
# List Servers
res = client.get_servers()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, ids, limit, names, offset, sort, references
# See section "Common Fields" for examples
patch_servers
from pypureclient.flashblade import Server, Reference
# update dns configuration of server with name 'myserver'
dns_list = [Reference(name="mydns")]
res = client.patch_servers(names=["myserver"], server=Server(dns=dns_list))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids, references
# See section "Common Fields" for examples
post_servers
from pypureclient.flashblade import ServerPost
# post the server object myserver on the array
# Please note: create_ds parameter is required and it is value should be <server-name>_nfs
attr = ServerPost()
res = client.post_servers(names=["myserver"], server=attr, create_ds="myserver_nfs")
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
Sessionsap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
get_sessions
# list user login events performed in the Purity//FB GUI, CLI, and REST API.
res = client.get_sessions()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, ids, limit, names, offset, sort
# See section "Common Fields" for examples
Softwareap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
get_software_check
# Get all software check
res = client.get_software_check()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# get by names
res = client.get_software_check(names=['1'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# get by ids
res = client.get_software_check(ids=['4ed534f8-e47e-cd29-25f0-841811266ba3'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# get by software_versions
res = client.get_software_check(software_versions='5.0.0')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# get by software_names
res = client.get_software_check(software_names="Purity//FB")
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: softwares, filter, limit, offset, sort, total_item_count
# See section "Common Fields" for examples
post_software_check
# post the software check
res = client.post_software_check(software_versions=["10.0.0"], software_names=["Purity//FB"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: softwares
# See section "Common Fields" for examples
Subnetsap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
delete_subnets
# delete a subnet with name myobjsubnet
client.delete_subnets(names=["mysubnet"])
# Other valid fields: ids
# See section "Common Fields" for examples
get_subnets
# list all subnets
res = client.get_subnets()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list and sort by name in descendant order
res = client.get_subnets(limit=5, sort="name-")
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list with page size 5
res = client.get_subnets(limit=5)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all remaining subnets
res = client.get_subnets(continuation_token=res.continuation_token)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list with filter
res = client.get_subnets(filter='(services=\'replication\')')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids, names, offset
# See section "Common Fields" for examples
patch_subnets
from pypureclient.flashblade import Subnet
# update a subnet's gateway by name
res = client.patch_subnets(
names=['mysubnet'], subnet=Subnet(gateway='1.2.3.1'))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids
# See section "Common Fields" for examples
post_subnets
from pypureclient.flashblade import Subnet
# post the subnet object mysubnet on the array
res = client.post_subnets(names=["mysubnet"],
subnet=Subnet(prefix='1.2.3.0/24'))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
Supportap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
get_support
res = client.get_support()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Valid fields: ids, names
# See section "Common Fields" for examples
patch_support
from pypureclient.flashblade import Support
# update support settings to enable phonehome and set a proxy
proxy = 'http://proxy.example.com:8080'
phonehome_enabled = True
support_settings_updates = Support(proxy=proxy, phonehome_enabled=phonehome_enabled)
res = client.patch_support(support=support_settings_updates)
# print our response containing our updates
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# open a remote assist session
remote_assist_active = True
remote_assist_duration = 24 * 60 * 60 * 1000 # 24 hours in milliseconds
open_ra_settings = Support(remote_assist_active=remote_assist_active, remote_assist_duration=remote_assist_duration)
res = client.patch_support(support=open_ra_settings)
# print our response, which will now have the time that our remote assist session was opened
# and when it will expire
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
get_support_test
# Test phonehome
res = client.get_support_test(test_type='phonehome')
# print the results
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Test remote assist
res = client.get_support_test(test_type='remote-assist')
# print the results
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Test both
res = client.get_support_test()
# print the results
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: filter, sort
# See section "Common Fields" for examples
Supportdiagnosticsap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
get_support_diagnostics_details
# Get all support diagnostics details
res = client.get_support_diagnostics_details()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
#get by name
res = client.get_support_diagnostics_details(names=['3'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# get by id
res = client.get_support_diagnostics_details(ids=['4ed534f8-e47e-cd29-25f0-841811266ba3'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: filter, limit, offset, sort, continuation_token
# See section "Common Fields" for examples
get_support_diagnostics
# Get all support diagnostics
res = client.get_support_diagnostics()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
#get by name
res = client.get_support_diagnostics(names=['3'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# get by id
res = client.get_support_diagnostics(ids=['4ed534f8-e47e-cd29-25f0-841811266ba3'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: filter, limit, offset, sort, continuation_token
# See section "Common Fields" for examples
post_support_diagnostics
# post the support diagnostics
res = client.post_support_diagnostics(analysis_period_start_time=0, analysis_period_end_time=0)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# See section "Common Fields" for examples
Syslogap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
delete_syslog_servers
# Delete the syslog server named "syslog_old"
client.delete_syslog_servers(names=["main_syslog"])
# Other valid fields: ids
# See section "Common Fields" for examples
get_syslog_servers
# List all configured syslog servers
res = client.get_syslog_servers()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# List first two syslog servers beginning with 'main_syslog'. Use default sorting.
res = client.get_syslog_servers(limit=2, names=["main_syslog"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items)) # List the first syslog server when sorting by name.
res = client.get_syslog_servers(limit=1, sort="name")
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# List all syslog servers using TCP connections
res = client.get_syslog_servers(filter='uri=\'tcp*\'')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, ids, offset
# See section "Common Fields" for examples
patch_syslog_servers
from pypureclient.flashblade.FB_2_14 import SyslogServerPatch
# Update the uri of the server named "main_syslog" and update the services field
attr = SyslogServerPatch(uri='tcp://new_syslog_host.domain.com:541')
attr.services = ['data-audit','management']
res = client.patch_syslog_servers(syslog_server=attr, names=["main_syslog"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids
# See section "Common Fields" for examples
post_syslog_servers
from pypureclient.flashblade.FB_2_14 import SyslogServerPost
# Post a syslog server using a TCP connection
attr = SyslogServerPost(uri='tcp://my_syslog_host.domain.com:541')
attr.services = ['data-audit']
res = client.post_syslog_servers(syslog_server=attr, names=["main_syslog"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Post a syslog server using a UDP connection
udp_attr = SyslogServerPost(uri='udp://my_syslog_host.domain.com:540')
attr.services = ['data-audit']
res = client.post_syslog_servers(syslog_server=udp_attr, names=["my_udp_connection"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
get_syslog_servers_settings
# List the current syslog server settings
res = client.get_syslog_servers_settings()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, ids, limit, names, offset, sort
# See section "Common Fields" for examples
patch_syslog_servers_settings
from pypureclient.flashblade import SyslogServerSettings, Reference
# Assuming a certificate named "syslog_server_cert" has already been uploaded to the array,
# retrieve that certificate by name and configure it to be used to authenticate the
# connection with syslog servers.
cert_name = 'syslog_server_cert'
cert_res = client.get_certificates(names=[cert_name])
cert_item = list(cert_res.items)[0]
# Build a Reference using information from the certificate GET result
cert_reference = Reference(name=cert_item.name, id=cert_item.id, resource_type='certificates')
attr = SyslogServerSettings(ca_certificate=cert_reference)
res = client.patch_syslog_servers_settings(syslog_server_settings=attr)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: names, ids
# See section "Common Fields" for examples
get_syslog_servers_test
# Log two test messages to each configured syslog server.
res = client.get_syslog_servers_test()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token
# See section "Common Fields" for examples
Targetsap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
delete_targets
# delete the target with the name 'target'
client.delete_targets(names=['target'])
# delete the target with the id '10314f42-020d-7080-8013-000ddt400090'
client.delete_targets(ids=['10314f42-020d-7080-8013-000ddt400090'])
get_targets
# list all targets
res = client.get_targets()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list first three targets using default sort
res = client.get_targets(limit=3)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list first three targets and sort by address
res = client.get_targets(limit=3, sort='address')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list all remaining targets
res = client.get_targets(continuation_token=res.continuation_token)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list with filter to see only targets that match a specific ip format
res = client.get_targets(filter='name=\'12.56.23.*\'')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: ids, names, offset
# See section "Common Fields" for examples
patch_targets
from pypureclient.flashblade import Target
# Change the name of an existing target to "remote2"
# Change the address of an existing target to "1.1.1.1"
new_attr = Target(name='remote2',
address='1.1.1.1')
# Update the existing target that's named 'remote1' with our new attributes
res = client.patch_targets(names=['remote1'], target=new_attr)
print(res)
# Update the existing target that has the id '10314f42-020d-7080-8013-000ddt400090' with our new attributes
res = client.patch_targets(ids=['10314f42-020d-7080-8013-000ddt400090'], target=new_attr)
print(res)
get_targets_performance_replication
# list instantaneous replication performance for all targets
res = client.get_targets_performance_replication()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list instantaneous replication performance for target with id '10314f42-020d-7080-8013-000ddt400090'
res = client.get_targets_performance_replication(ids=['10314f42-020d-7080-8013-000ddt400090'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list historical performance for all targets between some
# start time and end time
res = client.get_targets_performance_replication(
start_time=START_TIME,
end_time=END_TIME,
resolution=30000)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list historical performance for target 's3target1' between some
# start time and end time
res = client.get_targets_performance_replication(
start_time=START_TIME,
end_time=END_TIME,
resolution=30000,
names=['s3target1'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# total instantaneous performance across 2 targets
res = client.get_targets_performance_replication(names=['s3target1', 's3target2'],
total_only=True)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, filter, limit, offset, sort
# See section "Common Fields" for examples
post_targets
from pypureclient.flashblade import TargetPost
# create a target by hostname name
name = "target"
hostname = "my.target.com"
target = TargetPost(address=hostname)
# post the target object on the array
res = client.post_targets(names=[name], target=target)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# create a target by ip address
name = "target2"
address = "1.1.1.1"
target = TargetPost(address=address)
# post the target object on the array
res = client.post_targets(names=[name], target=target)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
Usageap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
get_usage_groups
# List usage for all groups that have space used on usageFs
res = client.get_usage_groups(file_system_names=["usageFs"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, file_system_ids, filter, gids, group_names, limit, offset,
# sort
# See section "Common Fields" for examples
get_usage_users
# List usage for all users who have space used on usageFs
res = client.get_usage_users(file_system_names=["usageFs"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, file_system_ids, filter, uids, user_names, limit,
# offset, sort
# See section "Common Fields" for examples
Verificationkeysap
The following examples assume that client is an instantiated flashblade.Client object as shown in Instantiating a Client.
get_support_verification_keys
# List the Challenge Response Verification Key for the array
res = client.get_support_verification_keys()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: continuation_token, limit, offset, sort, filter
# See section "Common Fields" for examples
patch_support_verification_keys
from pypureclient.flashblade import VerificationKeyPatch
# Update the signed Verification Key for the array
signed_public_key_text = """-----BEGIN PUBLIC KEY-----
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEArSe6chh1JzME9svOKjU0
eKTm8S23Ok3Vr2bWuPri/YHfLrlnRwWoCt+st0/BebKSJ+fQUWOaLlqpZQKpI8oR
gJ9sWmwGibVG8cTuz7XMkskx9bsm/bjIenuB4W+s3g0BCsi9930mfdKgJgFzY69O
nLh7d7hAFcmhSJa945PryQZpvJ/U4Ue5F4d+WXgEJ0SoSRaZ6bbeMPhcbMHTzTum
2ZrPBkK5cqPYitaso6BXeAlqNQPw4Kbu4Ugm0CTogrtImkwoonWDDP34XMOq+u7q
sNTbJSvDKMTM1RPPrTWCaLiuZkdLVEVesZ9/8+XUMIgBTElwQJDCAQer03MJzqRr
1eCZGgLfDuYqwMG2MFaAX7kgqBwwyqRTd6MxaQxt2nkdfwiXSY71llzEQ23g3T+1
64zjwAL5f+dtu8PkGF7IdU2T8P2Qk9bG9pckwZHWYkBK77BAk5jbmSzsKGZgRb2R
1E+TWDKIaveFhQp251j/C5wkZwMXgjOzN+BOPo+OiLBGUl+jRybWA9f7Vq1MEdf6
SEdLiqYrXcZERkYBMieLXAfdtaztAIb96cUu+OKMSLDk+D0GHkUfm7lEbDK3ew1+
D6z+BnxDyH6oqZzz4lS2kPLBLsc+6pdTGuKLf0S9YuLiqJe659AdwU8+X/3KtwNd
FVJSaxdFbWx0nj3hJqFkIO8CAwEAAQ==
-----END PUBLIC KEY-----"""
res = client.patch_support_verification_keys(key=VerificationKeyPatch(signed_verification_key=signed_public_key_text))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))